org.apache.commons.classscan.builtin
Class JarClassFile
java.lang.Object
  
org.apache.commons.classscan.builtin.JarResourceFile
      
org.apache.commons.classscan.builtin.JarClassFile
- All Implemented Interfaces: 
 - ClassFile, ResourceFile
 
public class JarClassFile
- extends JarResourceFile
- implements ClassFile
  
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
JarClassFile
public JarClassFile(JarFile jarFile,
                    JarEntry jarEntry)
getBytes
public InputStream getBytes()
                     throws IOException
- Description copied from interface: 
ResourceFile 
- Get the stream of bytes for the resource.
- Specified by:
 getBytes in interface ResourceFile- Overrides:
 getBytes in class JarResourceFile
 
- Returns:
 - The InputStream to read resource bytes.  This stream should be closed when all bytes have been read.
 - Throws:
 IOException
 
 
getClassName
public String getClassName()
- Description copied from interface: 
ClassFile 
- Get the name of the class
- Specified by:
 getClassName in interface ClassFile
 
- Returns:
 - The canonical class name; or null, if not a valid class
 
 
 
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.