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 filesystemPathto the resource id directory.Gets theResourceIdassociated with this mapping.getUtils()Gets theUnixFSUtilsassociated with this mapping.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.getelements.elements.rt.transact.unix.UnixFSHasFilesystemPath
createParentDirectories, getFilesystemPath
-
Method Details
-
getUtils
Gets theUnixFSUtilsassociated with this mapping.- Returns:
- the
UnixFSUtils
-
getResourceId
Gets theResourceIdassociated with this mapping.- Returns:
- the
ResourceId
-
getFilesystemPath
Returns the filesystemPathto the resource id directory.- Specified by:
getFilesystemPathin interfaceUnixFSHasFilesystemPath- Returns:
- the
ResourceIdfile
-
toString
-
fromResourceId
public static UnixFSResourceContentsMapping fromResourceId(UnixFSUtils utils, ResourceId resourceId) Creates aUnixFSResourceContentsMappingfrom theUnixFSUtilsand theResourceId. This will appropriately resolve the directory from the configuration supplied in the utils.- Parameters:
utils- the utils instance which contains the necessary configurationresourceId- theResourceIdfor which to associate w/ the mapping- Returns:
- the
UnixFSResourceContentsMapping
-