public class AvatarConfigDataset
extends java.lang.Object
JAOptions
setConstructor and Description |
---|
AvatarConfigDataset(JAOptions jaopts)
Constructs a new avatar configuration data record for the current
JASigning instance based on the installation avatar configuration
settings, overridden and extended as appropriate by the current
app/applet's
JAOptions set. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cacheableAvatarJarURL(java.lang.String av)
Assuming the given avatar has Cacheable access, determines
and returns the URL for (the cached copy of) the avatar's JAR file.
|
java.lang.String |
directFilesBaseURL(java.lang.String av)
Assuming the given avatar has Direct Files access, determines
and returns the base URL for the avatar definition files.
|
java.lang.String |
firstAvatar()
Returns the name of the avatar to be displayed first by the present
JASigning app/applet.
|
java.lang.String[] |
getAvatars()
Returns the complete list of avatars in this dataset.
|
boolean |
isCacheableAvatar(java.lang.String av)
Indicates whether the given avatar has Cacheable access, i.e.
|
boolean |
isClassPathAvatar(java.lang.String av)
Indicates whether the given avatar has Classpath access, i.e.
|
boolean |
isDirectFilesAvatar(java.lang.String av)
Indicates whether the given avatar has Direct Files access.
|
boolean |
isValid(java.lang.String av)
Checks whether the given string is a valid avatar name.
|
public java.lang.String[] getAvatars()
public java.lang.String firstAvatar()
public boolean isValid(java.lang.String av)
public boolean isClassPathAvatar(java.lang.String av)
public boolean isDirectFilesAvatar(java.lang.String av)
public boolean isCacheableAvatar(java.lang.String av)
public java.lang.String directFilesBaseURL(java.lang.String av)
public java.lang.String cacheableAvatarJarURL(java.lang.String av)