private JoinableResourceBundle buildDirMappedResourceBundle ( String bundleId , String pathMapping ) { List < String > path = Collections . singletonList ( pathMapping ) ; JoinableResourceBundle newBundle = new JoinableResourceBundleImpl ( bundleId , generateBundleNameFromBundleId ( bundleId ) , null , fileExtension , new InclusionPattern ( ) , path , resourceReaderHandler , jawrConfig . getGeneratorRegistry ( ) ) ; return newBundle ; }
Build a bundle based on a mapping returned by the ResourceBundleDirMapperFactory .