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

java.lang.Objectcom.dghda.module.ModulePathFileComponent
- All Implemented Interfaces:
- ModulePathComponent
- public class ModulePathFileComponent
- extends java.lang.Object
- implements ModulePathComponent
- extends java.lang.Object
A module path file component provides access to a module provider from a file.
| Nested Class Summary | |
protected class |
ModulePathFileComponent.FileIterator
An iterator that returns a provider for a file. |
| Nested classes inherited from class com.dghda.module.ModulePathComponent |
ModulePathComponent.EmptyIterator, ModulePathComponent.Provider |
| Field Summary | |
private java.io.File |
m_File
|
private long |
m_Scanned
|
| Constructor Summary | |
ModulePathFileComponent(java.lang.String file)
Create a new ModulePathFileComponent representing the given file. |
|
| Method Summary | |
java.lang.String |
getPath()
Returns the path to the file. |
ModulePathComponent.Provider |
getProvider()
Return a provider representing the file. |
java.util.Iterator |
getProviders(boolean updated)
The iterator will return at most one provider. |
| 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
| Constructor Detail |
ModulePathFileComponent
public ModulePathFileComponent(java.lang.String file)
- Create a new ModulePathFileComponent representing the given file.
| Method Detail |
getProviders
public java.util.Iterator getProviders(boolean updated)
- The iterator will return at most one provider.
- Specified by:
getProvidersin interfaceModulePathComponent
getProvider
public ModulePathComponent.Provider getProvider()
- Return a provider representing the file.
getPath
public java.lang.String getPath()
- Returns the path to the 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.ModulePathFileComponent