org.tempuri.javacImpl.util
Class FileSystemClassFactoryImpl.SourceReaderImpl
java.lang.Object
org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.SourceReaderImpl
- All Implemented Interfaces:
- JavaSourceReader
- Enclosing class:
- FileSystemClassFactoryImpl
public static class FileSystemClassFactoryImpl.SourceReaderImpl
- extends java.lang.Object
- implements JavaSourceReader
Method Summary |
java.lang.String |
getClassName()
Get the name of the Java class this object knows how to read |
java.io.Reader |
getReader()
Get a Reader for the source code of the class |
java.lang.String |
getURI()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemClassFactoryImpl.SourceReaderImpl
public FileSystemClassFactoryImpl.SourceReaderImpl(java.lang.String className,
java.io.File file)
throws java.io.IOException
- Throws:
java.io.IOException
FileSystemClassFactoryImpl.SourceReaderImpl
public FileSystemClassFactoryImpl.SourceReaderImpl(java.lang.String className,
java.util.jar.JarFile jarFile,
java.util.jar.JarEntry jarEntry)
throws java.io.IOException
- Throws:
java.io.IOException
getClassName
public java.lang.String getClassName()
- Description copied from interface:
JavaSourceReader
- Get the name of the Java class this object knows how to read
- Specified by:
getClassName
in interface JavaSourceReader
- Returns:
- the name of the class to be read
getReader
public java.io.Reader getReader()
throws java.io.IOException
- Description copied from interface:
JavaSourceReader
- Get a Reader for the source code of the class
- Specified by:
getReader
in interface JavaSourceReader
- Returns:
- a Reader containing the source code for this class
- Throws:
java.io.IOException
getURI
public java.lang.String getURI()