|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.classscan.builtin.JarClassPathElement
public class JarClassPathElement
Constructor Summary | |
---|---|
JarClassPathElement(URL location)
|
Method Summary | |
---|---|
Collection<SpiClassPathElement> |
getAdditionalLocations(SpiMetaRegistry registry)
Obtain any additional ClassPath elements specified within the metadata of this element. |
String |
getLocation()
Get the location of the class bytes. |
ResourceFile |
getResource(String fileName)
Get a file with a particular name |
Iterator<ClassFile> |
iterator()
Get a Iterator over the files specified by this instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarClassPathElement(URL location)
Method Detail |
---|
public Iterator<ClassFile> iterator()
ClassPathElement
iterator
in interface Iterable<ClassFile>
iterator
in interface ClassPathElement
public String getLocation()
ClassPathElement
URL constructor
.
getLocation
in interface ClassPathElement
public Collection<SpiClassPathElement> getAdditionalLocations(SpiMetaRegistry registry)
SpiClassPathElement
getAdditionalLocations
in interface SpiClassPathElement
public ResourceFile getResource(String fileName)
ClassPathElement
getResource
in interface ClassPathElement
fileName
- The name of the desired file (this may be a path such as META-INF/resources/com.example.group.interface)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |