public static CacheSpan createCacheEntry(File file){
  Matcher matcher=cacheFilePattern.matcher(file.getName());
  if (!matcher.matches()) {
    return null;
  }
  return CacheSpan.createCacheEntry(matcher.group(1),Long.parseLong(matcher.group(2)),Long.parseLong(matcher.group(3)),file);
}

public static CacheSpan createCacheEntry ( File file ) { Matcher matcher = cacheFilePattern . matcher ( file . getName ( ) ) ; if ( ! matcher . matches ( ) ) { return null ; } return CacheSpan . createCacheEntry ( matcher . group ( 1 ) , Long . parseLong ( matcher . group ( 2 ) ) , Long . parseLong ( matcher . group ( 3 ) ) , file ) ; }
creates a cache span from an underlying cache file .
