Class UnixFSResourceContentsMapping
java.lang.Object
dev.getelements.elements.rt.transact.unix.UnixFSResourceContentsMapping
- All Implemented Interfaces:
UnixFSHasFilesystemPath
-
Method Summary
Modifier and TypeMethodDescriptionfromResourceId
(UnixFSUtils utils, ResourceId resourceId) Returns the filesystemPath
to the resource id directory.Gets theResourceId
associated with this mapping.getUtils()
Gets theUnixFSUtils
associated with this mapping.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.getelements.elements.rt.transact.unix.UnixFSHasFilesystemPath
createParentDirectories, getFilesystemPath
-
Method Details
-
getUtils
Gets theUnixFSUtils
associated with this mapping.- Returns:
- the
UnixFSUtils
-
getResourceId
Gets theResourceId
associated with this mapping.- Returns:
- the
ResourceId
-
getFilesystemPath
Returns the filesystemPath
to the resource id directory.- Specified by:
getFilesystemPath
in interfaceUnixFSHasFilesystemPath
- Returns:
- the
ResourceId
file
-
toString
-
fromResourceId
public static UnixFSResourceContentsMapping fromResourceId(UnixFSUtils utils, ResourceId resourceId) Creates aUnixFSResourceContentsMapping
from theUnixFSUtils
and theResourceId
. This will appropriately resolve the directory from the configuration supplied in the utils.- Parameters:
utils
- the utils instance which contains the necessary configurationresourceId
- theResourceId
for which to associate w/ the mapping- Returns:
- the
UnixFSResourceContentsMapping
-