protected String getBundlePrefix ( BundleProcessingStatus status , JawrConfig jawrConfig , String bundleName ) { // Generation the bundle prefix String bundlePrefix = status . getCurrentBundle ( ) . getBundlePrefix ( ) ; if ( bundlePrefix == null ) { bundlePrefix = "" ; } else { bundlePrefix = PathNormalizer . asPath ( bundlePrefix ) ; } if ( ! bundleName . equals ( ResourceGenerator . CSS_DEBUGPATH ) ) { bundlePrefix += FAKE_BUNDLE_PREFIX ; } // Add path reference for the servlet mapping if it exists if ( ! "" . equals ( jawrConfig . getServletMapping ( ) ) ) { bundlePrefix = PathNormalizer . asPath ( jawrConfig . getServletMapping ( ) + bundlePrefix ) + "/" ; } return bundlePrefix ; }
Returns the bundle prefix