|
|||||||||
| 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 ModulePathDirComponent

java.lang.Objectcom.dghda.module.ModulePathDirComponent
- All Implemented Interfaces:
- ModulePathComponent
- public class ModulePathDirComponent
- extends java.lang.Object
- implements ModulePathComponent
- extends java.lang.Object
A module path directory component provides access to module providers in a directory.
| Nested Class Summary | |
protected class |
ModulePathDirComponent.DirIterator
An iterator over the contents of the directory. |
| Nested classes inherited from class com.dghda.module.ModulePathComponent |
ModulePathComponent.EmptyIterator, ModulePathComponent.Provider |
| Field Summary | |
private java.io.File |
m_File
|
private java.util.TreeMap |
m_FileComponents
|
private long |
m_Scanned
|
| Constructor Summary | |
ModulePathDirComponent(java.lang.String dir)
Create a new path component representing the specified directory. |
|
| Method Summary | |
protected ModulePathFileComponent |
getComponent(java.lang.String file)
Return the component representing the given file. |
java.lang.String |
getPath()
Returns the path to the directory. |
java.util.Iterator |
getProviders(boolean updated)
Iterate over all providers in the directory. |
| 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_Scanned
private long m_Scanned
m_FileComponents
private java.util.TreeMap m_FileComponents
| Constructor Detail |
ModulePathDirComponent
public ModulePathDirComponent(java.lang.String dir) throws InvalidPathException
- Create a new path component representing the specified directory.
| Method Detail |
getProviders
public java.util.Iterator getProviders(boolean updated)
- Iterate over all providers in the directory.
- Specified by:
getProvidersin interfaceModulePathComponent
getPath
public java.lang.String getPath()
- Returns the path to the directory.
- Specified by:
getPathin interfaceModulePathComponent
getComponent
protected ModulePathFileComponent getComponent(java.lang.String file)
- Return the component representing the given file.
|
|||||||||
| 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.ModulePathDirComponent