Package net.sourceforge.jnlp
Class JNLPFile.ManifestsAttributes
java.lang.Object
net.sourceforge.jnlp.JNLPFile.ManifestsAttributes
- Enclosing class:
- JNLPFile
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#app_libraryhttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#app_namegetAttribute
(Attributes.Name name) get standard attributehttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#caller_allowablehttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#codebasegetCodeBaseMatchersAttribute
(String s, boolean includePath) getCodeBaseMatchersAttribute
(Attributes.Name name, boolean includePath) String[]
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#entry_ptmain class can be defined outside of manifest.boolean
isLoader()
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#permissionshttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_libraryhttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_onlyhttp://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#permissionsvoid
setLoader
(JNLPClassLoader loader)
-
Field Details
-
APP_NAME
- See Also:
-
CALLER_ALLOWABLE
- See Also:
-
APP_LIBRARY_ALLOWABLE
- See Also:
-
PERMISSIONS
- See Also:
-
CODEBASE
- See Also:
-
TRUSTED_ONLY
- See Also:
-
TRUSTED_LIBRARY
- See Also:
-
ENTRY_POINT
- See Also:
-
-
Constructor Details
-
ManifestsAttributes
public ManifestsAttributes()
-
-
Method Details
-
setLoader
-
isLoader
public boolean isLoader() -
getMainClass
main class can be defined outside of manifest. This method is mostly for completeness- Returns:
- main-class as it is specified in application
-
getEntryPoints
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#entry_pt- Returns:
- values of Entry-Points attribute
-
getEntryPointString
-
getApplicationName
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#app_name- Returns:
- value of Application-Name manifest attribute
-
getCallerAllowableCodebase
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#caller_allowable- Returns:
- values of Caller-Allowable-Codebase manifest attribute
-
getApplicationLibraryAllowableCodebase
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#app_library- Returns:
- values of Application-Library-Allowable-Codebase manifest attribute
-
getCodebase
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#codebase- Returns:
- values of Codebase manifest attribute
-
isTrustedOnly
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_only- Returns:
- value of Trusted-Only manifest attribute
-
isTrustedLibrary
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_library- Returns:
- value of Trusted-Library manifest attribute
-
isSandboxForced
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#permissions- Returns:
- value of Permissions manifest attribute
-
permissionsToString
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#permissions- Returns:
- plain string values of Permissions manifest attribute
-
getAttribute
get standard attribute- Parameters:
name
- name of the manifest attribute to find in application- Returns:
- plain attribute value
-
getCodeBaseMatchersAttribute
public ClasspathMatcher.ClasspathMatchers getCodeBaseMatchersAttribute(String s, boolean includePath) -
getCodeBaseMatchersAttribute
public ClasspathMatcher.ClasspathMatchers getCodeBaseMatchersAttribute(Attributes.Name name, boolean includePath)
-