edu.rice.cs.cunit.classFile
Class ClassFileTools.ClassLocation

java.lang.Object
  extended by edu.rice.cs.cunit.classFile.ClassFileTools.ClassLocation
Enclosing class:
ClassFileTools

public static class ClassFileTools.ClassLocation
extends java.lang.Object

Helper class for findClassFile.


Field Summary
private  ClassFile _cf
           
private  java.lang.String _className
           
private  java.io.File _file
           
private  java.io.InputStream _inputStream
           
private  java.util.jar.JarFile _jarFile
           
 
Constructor Summary
ClassFileTools.ClassLocation(java.lang.String className, ClassFile cf, java.io.InputStream inputStream, java.io.File file)
           
ClassFileTools.ClassLocation(java.lang.String className, ClassFile cf, java.io.InputStream inputStream, java.io.File file, java.util.jar.JarFile jarFile)
           
 
Method Summary
 void close()
           
 ClassFile getClassFile()
           
 java.lang.String getClassName()
           
 java.io.File getFile()
           
 java.io.InputStream getInputStream()
           
 java.util.jar.JarFile getJarFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_className

private final java.lang.String _className

_inputStream

private final java.io.InputStream _inputStream

_file

private final java.io.File _file

_cf

private final ClassFile _cf

_jarFile

private final java.util.jar.JarFile _jarFile
Constructor Detail

ClassFileTools.ClassLocation

public ClassFileTools.ClassLocation(java.lang.String className,
                                    ClassFile cf,
                                    java.io.InputStream inputStream,
                                    java.io.File file)

ClassFileTools.ClassLocation

public ClassFileTools.ClassLocation(java.lang.String className,
                                    ClassFile cf,
                                    java.io.InputStream inputStream,
                                    java.io.File file,
                                    java.util.jar.JarFile jarFile)
Method Detail

getInputStream

public java.io.InputStream getInputStream()

getFile

public java.io.File getFile()

getClassName

public java.lang.String getClassName()

getJarFile

public java.util.jar.JarFile getJarFile()

getClassFile

public ClassFile getClassFile()

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException