Klasse AutomaticModuleNaming
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.env.AutomaticModuleNaming
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic 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}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.
-
Konstruktordetails
-
AutomaticModuleNaming
public AutomaticModuleNaming()
-
-
Methodendetails
-
determineAutomaticModuleName
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 workspaceisFile-trueindicates that fileName denotes a file,falsemust be used for projectsmanifest- representation of the META-INF/MANIFEST.MF entry within the given source (jar or project), ornull- Gibt zurück:
- the derived module name or
null
-
determineAutomaticModuleNameFromManifest
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), ornull- 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 skippedremoveExtension- if true, the ".jar" extension is removed.
-