|
ANTS v2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ants.util.ClassPathReader
This class implements the ByteCodeReader interface based on a "CLASSPATH" which can be given as a parameter.
XXX throws 'Exception' in a bunch of places. Should have its own exception class.
XXX no longer used (everyone uses the Janos Java NodeOS APIs now).
Constructor Summary | |
ClassPathReader()
Deprecated. Use the system property 'java.class.path' as the default classpath to search. |
|
ClassPathReader(java.lang.String pathstr)
Deprecated. Build a class path from the specified path string |
Method Summary | |
byte[] |
readByteCode(java.lang.String classname)
Deprecated. Resolve a class name of the form foo.bar.baz Searches the classpath given to the constructor. |
java.lang.String |
toString()
Deprecated. convert to printable form |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ClassPathReader()
public ClassPathReader(java.lang.String pathstr)
pathstr
- the CLASSPATH to use for future class searches.Method Detail |
public byte[] readByteCode(java.lang.String classname) throws java.lang.Exception
classname
- fully qualified class namepublic java.lang.String toString()
|
ANTS v2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |