com.springsource.bundlor.support.classpath
Class JarFileClassPathEntry

java.lang.Object
  extended by com.springsource.bundlor.support.classpath.JarFileClassPathEntry
All Implemented Interfaces:
ClassPathEntry

final class JarFileClassPathEntry
extends java.lang.Object
implements ClassPathEntry


Field Summary
private  java.util.jar.JarEntry entry
           
private  java.util.jar.JarFile jarFile
           
 
Constructor Summary
JarFileClassPathEntry(java.util.jar.JarFile jarFile, java.util.jar.JarEntry entry)
           
 
Method Summary
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.io.Reader getReader()
           
 boolean isDirectory()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

jarFile

private final java.util.jar.JarFile jarFile

entry

private final java.util.jar.JarEntry entry
Constructor Detail

JarFileClassPathEntry

public JarFileClassPathEntry(java.util.jar.JarFile jarFile,
                             java.util.jar.JarEntry entry)
Method Detail

getInputStream

public java.io.InputStream getInputStream()
Specified by:
getInputStream in interface ClassPathEntry

getReader

public java.io.Reader getReader()
Specified by:
getReader in interface ClassPathEntry

isDirectory

public boolean isDirectory()
Specified by:
isDirectory in interface ClassPathEntry

getName

public java.lang.String getName()
Specified by:
getName in interface ClassPathEntry

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object