|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AvatarCacheDescriptor | |
---|---|
jautil.avatar |
Uses of AvatarCacheDescriptor in jautil.avatar |
---|
Methods in jautil.avatar that return AvatarCacheDescriptor | |
---|---|
AvatarCacheDescriptor |
AvatarsCacheHandler.ensureCached(java.lang.String av,
java.lang.String avurl)
Tries to ensure that the avatar cache contains an up-to-date pair of entries for the avatar with the given name and original data URL, returning the avatar cache descriptor if successful, or null
otherwise. |
static AvatarCacheDescriptor |
AvatarCacheDescriptor.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: avatar name, original data URL, cache data URL, time stamp, data length. |
static AvatarCacheDescriptor |
AvatarCacheDescriptor.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.avatar with parameters of type AvatarCacheDescriptor | |
---|---|
java.lang.String |
AvatarsCacheHandler.getDataFileURL(AvatarCacheDescriptor desc)
Returns the data file URL for the avatar to which the given cache descriptor refers. |
boolean |
AvatarCacheDescriptor.matches(AvatarCacheDescriptor acd)
Indicates whether this descriptor matches and is in synch with the given one -- specifically whether their associated time stamps, data lengths, avatar names and original data URLs are the same. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |