Klasse AutomaticModuleNaming

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.env.AutomaticModuleNaming

public class AutomaticModuleNaming extends Object
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static char[]
    Determine the automatic module name of a given jar as specified in Ungültige Eingabe: "{@link <a href= "http://download.java.net/java/jdk9/docs/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-">" ModuleFinder.of}
    static char[]
    determineAutomaticModuleName(String fileName, boolean isFile, Manifest manifest)
    Determine the automatic module name of a given jar or project as specified in Ungültige Eingabe: "{@link <a href= "http://download.java.net/java/jdk9/docs/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-">" ModuleFinder.of}
    static char[]
    determineAutomaticModuleNameFromFileName(String name, boolean skipDirectory, boolean removeExtension)
    Determine the automatic module name if no "Automatic-Module-Name" was found in the Manifest, as specified in Ungültige Eingabe: "{@link <a href= "http://download.java.net/java/jdk9/docs/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-">ModuleFinder.of</a>"}
    static char[]
    Determine the automatic module name of a given jar or project as defined by an Automatic-Module-Name header in its manifest.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • AutomaticModuleNaming

      public AutomaticModuleNaming()
  • Methodendetails

    • determineAutomaticModuleName

      public static char[] determineAutomaticModuleName(String jarFileName)
      Determine the automatic module name of a given jar as specified in Ungültige Eingabe: "{@link <a href= "http://download.java.net/java/jdk9/docs/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-">" ModuleFinder.of}
    • determineAutomaticModuleName

      public static char[] determineAutomaticModuleName(String fileName, boolean isFile, Manifest manifest)
      Determine the automatic module name of a given jar or project as specified in Ungültige Eingabe: "{@link <a href= "http://download.java.net/java/jdk9/docs/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-">" ModuleFinder.of}
      Parameter:
      fileName - names either a jar file or a java project in the workspace
      isFile - true indicates that fileName denotes a file, false must be used for projects
      manifest - representation of the META-INF/MANIFEST.MF entry within the given source (jar or project), or null
      Gibt zurück:
      the derived module name or null
    • determineAutomaticModuleNameFromManifest

      public static char[] determineAutomaticModuleNameFromManifest(Manifest manifest)
      Determine the automatic module name of a given jar or project as defined by an Automatic-Module-Name header in its manifest.
      Parameter:
      manifest - representation of the META-INF/MANIFEST.MF entry within the given source (jar or project), or null
      Gibt zurück:
      the derived module name or null
    • determineAutomaticModuleNameFromFileName

      public static char[] determineAutomaticModuleNameFromFileName(String name, boolean skipDirectory, boolean removeExtension)
      Determine the automatic module name if no "Automatic-Module-Name" was found in the Manifest, as specified in Ungültige Eingabe: "{@link <a href= "http://download.java.net/java/jdk9/docs/api/java/lang/module/ModuleFinder.html#of-java.nio.file.Path...-">ModuleFinder.of</a>"}
      Parameter:
      name - the filename (or directory name)
      skipDirectory - if true, parent directory names are skipped
      removeExtension - if true, the ".jar" extension is removed.