Class ClassNameReader
java.lang.Object
org.apache.tools.ant.taskdefs.optional.jlink.ClassNameReader
Provides a quick and dirty way to determine the true name of a class
 given just an InputStream. Reads in just enough to perform this
 minimal task only.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetClassName(InputStream input) Get the class name of a class in an input stream.
- 
Constructor Details- 
ClassNameReaderpublic ClassNameReader()
 
- 
- 
Method Details- 
getClassNameGet the class name of a class in an input stream.- Parameters:
- input- an- InputStreamvalue
- Returns:
- the name of the class
- Throws:
- IOException- if an error occurs
 
 
-