Package org.glassfish.rmic
Class BatchEnvironment.Path
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<String>,Collection<String>,Set<String>
- Enclosing class:
BatchEnvironment
Utility for building paths of directories and JAR files. This
class was copied from com.org.glassfish.rmic.tools.javac.util.Paths as part of
the fix for 6473331, which adds support for Class-Path manifest
entries in JAR files. Diagnostic code is simply commented out
because rmic silently ignored these conditions historically.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringWhat to use when path element is the empty stringprivate booleanprivate static final longprivate static final boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDirectories(String dirs) addDirectories(String dirs, boolean warn) private voidaddDirectory(String dir, boolean warn) private voidprivate voidaddJarClassPath(String jarFileName, boolean warn) expandJarClassPaths(boolean x) private static booleanIs this the name of a zip file?Methods inherited from class java.util.LinkedHashSet
spliteratorMethods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, sizeMethods inherited from class java.util.AbstractSet
equals, hashCode, removeAllMethods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
warn
private static final boolean warn- See Also:
-
expandJarClassPaths
private boolean expandJarClassPaths -
emptyPathDefault
What to use when path element is the empty string
-
-
Constructor Details
-
Path
public Path()
-
-
Method Details
-
isZip
Is this the name of a zip file? -
expandJarClassPaths
-
emptyPathDefault
-
addDirectories
-
addDirectories
-
addDirectory
-
addFiles
-
addFiles
-
addFile
-
addJarClassPath
-