public byte[] loadFileFromCache(final String urlString){
  final String fileName=ResourceLoader.getNormalizedFileName(urlString);
  final File file=getCacheFile(fileName);
  if (file.exists()) {
    final byte[] bytes=DSSUtils.toByteArray(file);
    return bytes;
  }
  return null;
}

public byte [ ] loadFileFromCache ( final String urlString ) { final String fileName = ResourceLoader . getNormalizedFileName ( urlString ) ; final File file = getCacheFile ( fileName ) ; if ( file . exists ( ) ) { final byte [ ] bytes = DSSUtils . toByteArray ( file ) ; return bytes ; } return null ; }
allows to load the file for a given file name from the cache folder .
