org.apache.tools.ant.taskdefs.optional.jlink
Class ClassNameReader
Object
org.apache.tools.ant.taskdefs.optional.jlink.ClassNameReader
public class ClassNameReader
extends Object
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.
static String | getClassName(InputStream input) - Get the class name of a class in an input stream.
|
getClassName
public static String getClassName(InputStream input)
throws IOException
Get the class name of a class in an input stream.
input
- an InputStream
value