Alle implementierten Schnittstellen:
FileSystem.Classpath, IModulePathEntry, SuffixConstants

public class ClasspathJmod extends ClasspathJar
  • Felddetails

    • CLASSES

      public static char[] CLASSES
    • CLASSES_FOLDER

      public static char[] CLASSES_FOLDER
  • Konstruktordetails

    • ClasspathJmod

      public ClasspathJmod(File file, boolean closeZipFileAtEnd, AccessRuleSet accessRuleSet, String destinationPath)
  • Methodendetails

    • fetchLinkedJars

      public List<FileSystem.Classpath> fetchLinkedJars(FileSystem.ClasspathSectionProblemReporter problemReporter)
      Beschreibung aus Schnittstelle kopiert: FileSystem.Classpath
      Return a list of the jar file names defined in the Class-Path section of the jar file manifest if any, null else. Only ClasspathJar (and extending classes) instances may return a non-null result.
      Angegeben von:
      fetchLinkedJars in Schnittstelle FileSystem.Classpath
      Setzt außer Kraft:
      fetchLinkedJars in Klasse ClasspathJar
      Parameter:
      problemReporter - problem reporter with which potential misconfiguration issues are raised
      Gibt zurück:
      a list of the jar file names defined in the Class-Path section of the jar file manifest if any
    • findClass

      public NameEnvironmentAnswer findClass(char[] typeName, String qualifiedPackageName, String moduleName, String qualifiedBinaryFileName, boolean asBinaryOnly)
      Angegeben von:
      findClass in Schnittstelle FileSystem.Classpath
      Setzt außer Kraft:
      findClass in Klasse ClasspathJar
    • hasAnnotationFileFor

      public boolean hasAnnotationFileFor(String qualifiedTypeName)
      Beschreibung aus Schnittstelle kopiert: FileSystem.Classpath
      Can the current location provide an external annotation file for the given type?
      Angegeben von:
      hasAnnotationFileFor in Schnittstelle FileSystem.Classpath
      Setzt außer Kraft:
      hasAnnotationFileFor in Klasse ClasspathJar
      Parameter:
      qualifiedTypeName - type name in qualified /-separated notation.
    • findTypeNames

      public char[][][] findTypeNames(String qualifiedPackageName, String moduleName)
      Angegeben von:
      findTypeNames in Schnittstelle FileSystem.Classpath
      Setzt außer Kraft:
      findTypeNames in Klasse ClasspathJar
    • getModulesDeclaringPackage

      public char[][] getModulesDeclaringPackage(String qualifiedPackageName, String moduleName)
      Beschreibung aus Schnittstelle kopiert: IModulePathEntry
      Answer the relevant modules that declare the given package. If moduleName is ModuleBinding.ANY then all packages are relevant, if moduleName is ModuleBinding.UNNAMED, then only packages in the unnamed module are relevant, otherwise consider only packages in the module identified by moduleName.
      Angegeben von:
      getModulesDeclaringPackage in Schnittstelle IModulePathEntry
      Setzt außer Kraft:
      getModulesDeclaringPackage in Klasse ClasspathJar
    • hasCompilationUnit

      public boolean hasCompilationUnit(String qualifiedPackageName, String moduleName)
      Beschreibung aus Schnittstelle kopiert: IModulePathEntry
      Answer whether the given package has any compilation unit (.java or .class) in the given module. For entries representing a single module, the module name should be checked before invoking this method.
      Angegeben von:
      hasCompilationUnit in Schnittstelle IModulePathEntry
      Setzt außer Kraft:
      hasCompilationUnit in Klasse ClasspathJar
      Parameter:
      qualifiedPackageName - '/'-separated package name
      moduleName - if non-null only CUs attached to the given module should be considered
      Gibt zurück:
      true iff a .java or .class file could be found in the given module / package.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse ClasspathJar
    • getModule

      public IModule getModule()
      Beschreibung aus Schnittstelle kopiert: IModulePathEntry
      Get the module that this entry contributes. May be null, for instance when this entry does not represent a single module
      Angegeben von:
      getModule in Schnittstelle IModulePathEntry
      Setzt außer Kraft:
      getModule in Klasse ClasspathJar
      Gibt zurück:
      The module that this entry contributes or null