|
|||||||||
| Home >> All >> com >> dghda >> [ module overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.dghda.module
Class ModulePathJarComponent

java.lang.Objectcom.dghda.module.ModulePathJarComponent
- All Implemented Interfaces:
- ModulePathComponent
- public class ModulePathJarComponent
- extends java.lang.Object
- implements ModulePathComponent
- extends java.lang.Object
A module path jar component provides access to module providers in a jar file.
| Nested Class Summary | |
protected class |
ModulePathJarComponent.JarEntryProvider
An implementation of a provider based on a jar file entry. |
protected class |
ModulePathJarComponent.JarIterator
An iterator over the contents of the jar file. |
| Nested classes inherited from class com.dghda.module.ModulePathComponent |
ModulePathComponent.EmptyIterator, ModulePathComponent.Provider |
| Field Summary | |
private java.io.File |
m_File
|
private java.util.jar.JarFile |
m_JarFile
|
private long |
m_Scanned
|
| Constructor Summary | |
ModulePathJarComponent(java.lang.String jarFile)
Create a new path component representing the specified jar file. |
|
| Method Summary | |
java.lang.String |
getPath()
Returns the path to the jar file. |
java.util.Iterator |
getProviders(boolean updated)
Iterate over all providers in the jar file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
m_File
private java.io.File m_File
m_JarFile
private java.util.jar.JarFile m_JarFile
m_Scanned
private long m_Scanned
| Constructor Detail |
ModulePathJarComponent
public ModulePathJarComponent(java.lang.String jarFile) throws InvalidPathException
- Create a new path component representing the specified jar file.
| Method Detail |
getProviders
public java.util.Iterator getProviders(boolean updated)
- Iterate over all providers in the jar file.
- Specified by:
getProvidersin interfaceModulePathComponent
getPath
public java.lang.String getPath()
- Returns the path to the jar file.
- Specified by:
getPathin interfaceModulePathComponent
|
|||||||||
| Home >> All >> com >> dghda >> [ module overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.dghda.module.ModulePathJarComponent