jaugment2.directory
Class FileObjectFactory
java.lang.Object
|
+--jaugment2.directory.FileObjectFactory
- public class FileObjectFactory
- extends java.lang.Object
- implements javax.naming.spi.ObjectFactory
An ObjectFactory, returning a name-value-set
with the content and some other attributes
(size, last-accessed-time,...) for a file
and special handling for some files
(storing references or even the (java-)code
to contexts in files,...)
|
Method Summary |
java.lang.Object |
createStoredDirectory(java.lang.String text)
|
java.lang.Object |
getObjectInstance(java.lang.Object o,
javax.naming.Name p1,
javax.naming.Context p2,
java.util.Hashtable p3)
|
static java.lang.String |
parseMacros(java.lang.String in)
|
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
debug
private static final boolean debug
attributesFactories
FileObjectFactory.FileAttributesFactory[] attributesFactories
FileObjectFactory
public FileObjectFactory()
getObjectInstance
public java.lang.Object getObjectInstance(java.lang.Object o,
javax.naming.Name p1,
javax.naming.Context p2,
java.util.Hashtable p3)
throws java.lang.Exception
- Specified by:
- getObjectInstance in interface javax.naming.spi.ObjectFactory
parseMacros
public static java.lang.String parseMacros(java.lang.String in)
createStoredDirectory
public java.lang.Object createStoredDirectory(java.lang.String text)