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 String
What to use when path element is the empty stringprivate boolean
private static final long
private static final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDirectories
(String dirs) addDirectories
(String dirs, boolean warn) private void
addDirectory
(String dir, boolean warn) private void
private void
addJarClassPath
(String jarFileName, boolean warn) expandJarClassPaths
(boolean x) private static boolean
Is this the name of a zip file?Methods inherited from class java.util.LinkedHashSet
spliterator
Methods inherited from class java.util.HashSet
add, clear, clone, contains, isEmpty, iterator, remove, size
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
-