Uses of Class
jautil.cache.JACacheDescriptor

Packages that use JACacheDescriptor
jautil.cache   
 

Uses of JACacheDescriptor in jautil.cache
 

Methods in jautil.cache that return JACacheDescriptor
 JACacheDescriptor JACacheHandler.ensureCached(java.lang.String name, java.lang.String url)
          Tries to ensure that this cache contains an up-to-date pair of files for the entry with the given name and original data URL, returning the cache descriptor if successful, or null otherwise.
static JACacheDescriptor JACacheDescriptor.makeDescriptor(java.lang.String[] dlines)
          Creates a new descriptor from the given array of data lines, which is expected to contain the following items, one per line, in order: entry name, original data URL, cache data URL, time stamp, data length.
static JACacheDescriptor JACacheDescriptor.readDescriptor(java.io.InputStream dins)
          Builds and returns a new descriptor based on the data obtained from the given stream, or returns null if there is an input error.
 

Methods in jautil.cache with parameters of type JACacheDescriptor
 java.net.URL JACacheHandler.getDataFileURL(JACacheDescriptor desc)
          Returns a URL for the local copy of the data in the cache entry identified by the given descriptor; if the given descriptor is null the result is also null.
 java.lang.String JACacheHandler.getDataFileURLStr(JACacheDescriptor desc)
          Returns the string form of the URL for the local copy of the data in the cache entry identified by the given descriptor; if the given descriptor is null the result is also null.
 boolean JACacheDescriptor.matches(JACacheDescriptor cd)
          Indicates whether this descriptor matches and is in synch with the given one -- specifically whether their associated time stamps, data lengths, entry names and original data URLs are the same.