|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.entityfs.util.cap.fs.FSCUriResolvableUtil
public final class FSCUriResolvableUtil
This utility class contains static methods for working with file systems that
support the FSCUriResolvable file system capability.
FSCUriResolvable| Method Summary | |
|---|---|
static Entity |
getEntityForUri(FileSystem fs,
URI u)
Get the entity in the file system that is referenced by the supplied java.net.URI. |
static AbsoluteLocation |
getEntityLocationForUri(FileSystem fs,
URI u)
Get the absolute entity location in the file system that is referenced by the supplied java.net.URI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AbsoluteLocation getEntityLocationForUri(FileSystem fs,
URI u)
throws UnsupportedCapabilityException,
EntityNotFoundException
java.net.URI.
fs - The file system.u - The URI.
UnsupportedCapabilityException - If the file system does not
support the FSCUriResolvable capability.
EntityNotFoundException - If the URI does not reference a location
within the file system.
public static Entity getEntityForUri(FileSystem fs,
URI u)
throws UnsupportedCapabilityException,
EntityNotFoundException
java.net.URI.
This method will temporarily acquire read locks on all entities from the file system's root directory to the requested entity's parent directory.
fs - The file system.u - The URI.
UnsupportedCapabilityException - If the file system does not
support the FSCUriResolvable capability.
EntityNotFoundException - If the URI does not reference an entity
within the file system.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||