public ReadableByteChannel getResourceBundleChannel ( String bundleName , boolean gzipBundle ) throws ResourceNotFoundException { String tempFileName = getStoredBundlePath ( bundleName , gzipBundle ) ; InputStream is = getTemporaryResourceAsStream ( tempFileName ) ; return Channels . newChannel ( is ) ; }
Returns the readable byte channel from the bundle name