com.springsource.bundlor.support.classpath
Class JarFileClassPath

java.lang.Object
  extended by com.springsource.bundlor.support.classpath.JarFileClassPath
All Implemented Interfaces:
ClassPath, java.lang.Iterable<ClassPathEntry>

final class JarFileClassPath
extends java.lang.Object
implements ClassPath


Nested Class Summary
private static class JarFileClassPath.JarFileClassPathIterator
           
 
Field Summary
private  java.util.jar.JarFile jarFile
           
 
Constructor Summary
JarFileClassPath(java.util.jar.JarFile jarFile)
           
 
Method Summary
 void close()
           
 ClassPathEntry getEntry(java.lang.String name)
           
 java.util.Iterator<ClassPathEntry> iterator()
           
 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
Constructor Detail

JarFileClassPath

public JarFileClassPath(java.util.jar.JarFile jarFile)
Method Detail

iterator

public java.util.Iterator<ClassPathEntry> iterator()
Specified by:
iterator in interface java.lang.Iterable<ClassPathEntry>

getEntry

public ClassPathEntry getEntry(java.lang.String name)
Specified by:
getEntry in interface ClassPath

close

public void close()
Specified by:
close in interface ClassPath

toString

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