public class JNLPFile.ManifestsAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APP_LIBRARY_ALLOWABLE |
static java.lang.String |
APP_NAME |
static java.lang.String |
CALLER_ALLOWABLE |
static java.lang.String |
CODEBASE |
static java.lang.String |
ENTRY_POINT |
static java.lang.String |
PERMISSIONS |
static java.lang.String |
TRUSTED_LIBRARY |
static java.lang.String |
TRUSTED_ONLY |
Constructor and Description |
---|
ManifestsAttributes() |
Modifier and Type | Method and Description |
---|---|
ClasspathMatcher.ClasspathMatchers |
getApplicationLibraryAllowableCodebase()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#app_library
|
java.lang.String |
getApplicationName()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#app_name
|
java.lang.String |
getAttribute(java.util.jar.Attributes.Name name)
get standard attribute
|
ClasspathMatcher.ClasspathMatchers |
getCallerAllowableCodebase()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#caller_allowable
|
ClasspathMatcher.ClasspathMatchers |
getCodebase()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#codebase
|
ClasspathMatcher.ClasspathMatchers |
getCodeBaseMatchersAttribute(java.util.jar.Attributes.Name name,
boolean includePath) |
ClasspathMatcher.ClasspathMatchers |
getCodeBaseMatchersAttribute(java.lang.String s,
boolean includePath) |
java.lang.String[] |
getEntryPoints()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#entry_pt
|
java.lang.String |
getEntryPointString() |
java.lang.String |
getMainClass()
main class can be defined outside of manifest.
|
boolean |
isLoader() |
JNLPFile.ManifestBoolean |
isSandboxForced()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#permissions
|
JNLPFile.ManifestBoolean |
isTrustedLibrary()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_library
|
JNLPFile.ManifestBoolean |
isTrustedOnly()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_only
|
java.lang.String |
permissionsToString()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#permissions
|
void |
setLoader(JNLPClassLoader loader) |
public static final java.lang.String APP_NAME
public static final java.lang.String CALLER_ALLOWABLE
public static final java.lang.String APP_LIBRARY_ALLOWABLE
public static final java.lang.String PERMISSIONS
public static final java.lang.String CODEBASE
public static final java.lang.String TRUSTED_ONLY
public static final java.lang.String TRUSTED_LIBRARY
public static final java.lang.String ENTRY_POINT
public void setLoader(JNLPClassLoader loader)
public boolean isLoader()
public java.lang.String getMainClass()
public java.lang.String[] getEntryPoints()
public java.lang.String getEntryPointString()
public java.lang.String getApplicationName()
public ClasspathMatcher.ClasspathMatchers getCallerAllowableCodebase()
public ClasspathMatcher.ClasspathMatchers getApplicationLibraryAllowableCodebase()
public ClasspathMatcher.ClasspathMatchers getCodebase()
public JNLPFile.ManifestBoolean isTrustedOnly()
public JNLPFile.ManifestBoolean isTrustedLibrary()
public JNLPFile.ManifestBoolean isSandboxForced()
public java.lang.String permissionsToString()
public java.lang.String getAttribute(java.util.jar.Attributes.Name name)
name
- name of the manifest attribute to find in applicationpublic ClasspathMatcher.ClasspathMatchers getCodeBaseMatchersAttribute(java.lang.String s, boolean includePath)
public ClasspathMatcher.ClasspathMatchers getCodeBaseMatchersAttribute(java.util.jar.Attributes.Name name, boolean includePath)