|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.entityfs.util.cap.entity.ECUriResolvableUtil
public final class ECUriResolvableUtil
A utility class with static methods for working with ECUriResolvable
entity capabilities.
The methods in this class will use the locking strategy for utility classes
described in EntityLock
.
ECUriResolvable
Method Summary | |
---|---|
static ECUriResolvable |
getCapability(EntityView ev)
Get the ECUriResolvable capability for an entity. |
static URI |
getUri(EntityView ev)
Get a java.net.URI object that references the entity in the
backing file system. |
static boolean |
supportsCapability(EntityView ev)
Check if the supplied entity supports the ECUriResolvable
capability. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ECUriResolvable getCapability(EntityView ev)
ECUriResolvable
capability for an entity.
ev
- The entity to get the capability for.
UnsupportedCapabilityException
- If the entity does not support the
capability.public static boolean supportsCapability(EntityView ev)
ECUriResolvable
capability.
ev
- The entity to investigate.
true
if the entity supports the capability, false
if not.public static URI getUri(EntityView ev) throws UnsupportedCapabilityException
java.net.URI
object that references the entity in the
backing file system.
java.net.URI
object that references the entity.
UnsupportedCapabilityException
- If the entity does not support the
capability.ECUriResolvable.getUri()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |