|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.Path
org.apache.hadoop.hive.ant.DistinctElementsClassPath
public class DistinctElementsClassPath
This object represents a path as used by CLASSPATH or PATH environment variable. String representation of this object returns the path with unique elements to reduce the chances of exceeding the character limit problem on windows by removing if there are duplicate files(JARs) in the original class path.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.tools.ant.types.Path |
---|
org.apache.tools.ant.types.Path.PathElement |
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.types.Path |
---|
systemBootClasspath, systemClasspath |
Fields inherited from class org.apache.tools.ant.types.DataType |
---|
checked, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
DistinctElementsClassPath(org.apache.tools.ant.Project project)
Construct an empty Path . |
|
DistinctElementsClassPath(org.apache.tools.ant.Project p,
String path)
Invoked by IntrospectionHelper for setXXX(Path p)
attribute setters. |
Method Summary | |
---|---|
String[] |
list()
Returns the list of path elements after removing the duplicate files from the original Path |
String |
toString()
Returns a textual representation of the path after removing the duplicate files from the original Path. |
Methods inherited from class org.apache.tools.ant.types.Path |
---|
add, add, addDirset, addExisting, addExisting, addExtdirs, addFilelist, addFileset, addJavaRuntime, append, assertFilesystemOnly, clone, concatSystemBootClasspath, concatSystemClasspath, concatSystemClasspath, createPath, createPathElement, delegateIteratorToList, dieOnCircularReference, isFilesystemOnly, iterator, setCache, setLocation, setPath, setRefid, size, translateFile, translateFileSep, translatePath |
Methods inherited from class org.apache.tools.ant.types.DataType |
---|
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DistinctElementsClassPath(org.apache.tools.ant.Project p, String path)
setXXX(Path p)
attribute setters.
p
- the Project
for this path.path
- the String
path definition.public DistinctElementsClassPath(org.apache.tools.ant.Project project)
Path
.
project
- the Project
for this path.Method Detail |
---|
public String[] list()
list
in class org.apache.tools.ant.types.Path
public String toString()
toString
in class org.apache.tools.ant.types.Path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |