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