Class JNLPFile.ManifestsAttributes

  • Enclosing class:
    JNLPFile

    public class JNLPFile.ManifestsAttributes
    extends java.lang.Object
    • Constructor Detail

      • ManifestsAttributes

        public ManifestsAttributes()
    • Method Detail

      • isLoader

        public boolean isLoader()
      • getMainClass

        public java.lang.String 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

        public java.lang.String[] getEntryPoints()
        http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/manifest.html#entry_pt
        Returns:
        values of Entry-Points attribute
      • getEntryPointString

        public java.lang.String getEntryPointString()
      • getApplicationName

        public java.lang.String getApplicationName()
        http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#app_name
        Returns:
        value of Application-Name manifest attribute
      • getCallerAllowableCodebase

        public ClasspathMatcher.ClasspathMatchers getCallerAllowableCodebase()
        http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#caller_allowable
        Returns:
        values of Caller-Allowable-Codebase manifest attribute
      • getApplicationLibraryAllowableCodebase

        public ClasspathMatcher.ClasspathMatchers 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

        public ClasspathMatcher.ClasspathMatchers getCodebase()
        http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#codebase
        Returns:
        values of Codebase manifest attribute
      • isTrustedOnly

        public JNLPFile.ManifestBoolean isTrustedOnly()
        http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_only
        Returns:
        value of Trusted-Only manifest attribute
      • isTrustedLibrary

        public JNLPFile.ManifestBoolean isTrustedLibrary()
        http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#trusted_library
        Returns:
        value of Trusted-Library manifest attribute
      • isSandboxForced

        public JNLPFile.ManifestBoolean isSandboxForced()
        http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#permissions
        Returns:
        value of Permissions manifest attribute
      • permissionsToString

        public java.lang.String permissionsToString()
        http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html#permissions
        Returns:
        plain string values of Permissions manifest attribute
      • getAttribute

        public java.lang.String getAttribute​(java.util.jar.Attributes.Name name)
        get standard attribute
        Parameters:
        name - name of the manifest attribute to find in application
        Returns:
        plain attribute value