Class JNLPFile.ManifestsAttributes

java.lang.Object
net.sourceforge.jnlp.JNLPFile.ManifestsAttributes
Enclosing class:
JNLPFile

public class JNLPFile.ManifestsAttributes extends Object
  • Field Details

  • Constructor Details

    • ManifestsAttributes

      public ManifestsAttributes()
  • Method Details

    • setLoader

      public void setLoader(JNLPClassLoader loader)
    • isLoader

      public boolean isLoader()
    • getMainClass

      public 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 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 String getEntryPointString()
    • getApplicationName

      public 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 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 String getAttribute(Attributes.Name name)
      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)