|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectproper.io.AntTarget
public class AntTarget
A simple wrapper class for an ANT file and a target from this file. Can be used in GUI-Lists etc. for displaying.
| Constructor Summary | |
|---|---|
AntTarget(Ant ant,
java.lang.String target)
initializes the object |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
compares the given object to itself, depending on the sorting |
boolean |
equals(java.lang.Object obj)
checks whether the objects are the same |
Ant |
getAnt()
returns the ANT instance |
java.lang.String |
getDisplay()
returns the display string, also done with "toString()" |
java.lang.String |
getFilename()
returns the filename of the ANT file |
java.util.Vector |
getJavaTasks()
returns all the Java-Tasks in the Target, NULL if there are none |
java.lang.String |
getTarget()
returns the target it represents |
java.lang.String |
toString()
returns a string representation of the form "File: Target" |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AntTarget(Ant ant,
java.lang.String target)
| Method Detail |
|---|
public Ant getAnt()
public java.lang.String getTarget()
public java.util.Vector getJavaTasks()
public java.lang.String getFilename()
public java.lang.String getDisplay()
public int compareTo(java.lang.Object o)
throws java.lang.ClassCastException
compareTo in interface java.lang.Comparablejava.lang.ClassCastExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||