public class ServerDirectoryEnumerator extends Object implements Serviceable, Enumerator, LogEnabled
| Modifier and Type | Field and Description |
|---|---|
private Logger |
_logger |
private SourceResolver |
_sourceResolver |
| Constructor and Description |
|---|
ServerDirectoryEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
private Map<Object,I18nizableText> |
_getDirectories(Source source) |
void |
enableLogging(Logger logger) |
Map<Object,I18nizableText> |
getEntries()
Provides the enumerated values with their optional label.
|
I18nizableText |
getEntry(String value)
Retrieves a single label from a value.
|
void |
service(ServiceManager manager) |
private SourceResolver _sourceResolver
public ServerDirectoryEnumerator()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void enableLogging(Logger logger)
enableLogging in interface LogEnabledpublic I18nizableText getEntry(String value) throws Exception
EnumeratorgetEntry in interface Enumeratorvalue - the value.null if not found.Exception - if an error occurs.public Map<Object,I18nizableText> getEntries() throws Exception
EnumeratorgetEntries in interface EnumeratorException - if an error occurs.private Map<Object,I18nizableText> _getDirectories(Source source) throws SourceException
SourceException