|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.entityfs.support.lang.ObjectProxySupport<FileSystemDelegate>
org.entityfs.impl.AbstractFileSystemDelegateProxy
org.entityfs.cap.compression.impl.CompressionEnablingFileSystemDelegate
public class CompressionEnablingFileSystemDelegate
Constructor Summary | |
---|---|
CompressionEnablingFileSystemDelegate(FileSystemDelegate proxied)
|
Method Summary | ||
---|---|---|
|
getCapabilityForEntityOrNull(EntityImplementation ei,
EntityCapabilityType<T> type)
Get the entity capability object for the requested capability. |
|
|
getCapabilityOrNull(FileSystemCapabilityType<T> type)
Get the file system capability object for the requested capability. |
|
Set<FileSystemCapabilityType<?>> |
getSupportedCapabilities()
Get the set of supported file system capability types for the file system. |
|
Set<EntityCapabilityType<?>> |
getSupportedEntityCapabilities()
Get the set of supported entity capability types for this file system. |
|
TriState |
supportsCapability(FileSystemCapabilityType<?> type)
Does the file system support the specified capability? |
|
TriState |
supportsCapabilityForEntity(EntityImplementation ei,
EntityCapabilityType<?> type)
Does the file system or capability provider support the requested entity capability for the supplied entity? |
|
TriState |
supportsCapabilityForEntityType(EntityType et,
EntityCapabilityType<?> type)
Does the file system or capability provider support the requested entity capability for entities of the supplied type? |
Methods inherited from class org.entityfs.impl.AbstractFileSystemDelegateProxy |
---|
close, getFileSystemAdapter, getOwner, init, setOwner, toString, validateEntityName |
Methods inherited from class org.entityfs.support.lang.ObjectProxySupport |
---|
equals, getProxied, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CompressionEnablingFileSystemDelegate(FileSystemDelegate proxied)
Method Detail |
---|
public TriState supportsCapability(FileSystemCapabilityType<?> type)
FileSystemDelegate
type
- The file system capability type identifier.
YES
, NO
or DONT_CARE
public <T extends FileSystemCapability> T getCapabilityOrNull(FileSystemCapabilityType<T> type)
FileSystemDelegate
null
.
type
- The file system capability type.
null
if the file
system capability is not supported by this capability visitor.public Set<FileSystemCapabilityType<?>> getSupportedCapabilities()
FileSystemDelegate
public TriState supportsCapabilityForEntity(EntityImplementation ei, EntityCapabilityType<?> type)
FileSystemDelegate
ei
- The entity.type
- The entity capability type.
YES
, NO
or DONT_CARE
FileSystem.supportsCapabilityForEntity(org.entityfs.EntityView,
EntityCapabilityType)
public TriState supportsCapabilityForEntityType(EntityType et, EntityCapabilityType<?> type)
FileSystemDelegate
This method should return true
also if the file system supports
the capability for only some of the entities of the supplied type.
et
- The entity type.type
- The entity capability type.
YES
, NO
or DONT_CARE
.FileSystem.supportsCapabilityForEntityType(EntityType,
EntityCapabilityType)
public <T extends EntityCapability> T getCapabilityForEntityOrNull(EntityImplementation ei, EntityCapabilityType<T> type)
FileSystemDelegate
null
.
ei
- The entity.type
- The entity capability type.
null
if the entity
capability is not supported by this capability visitor.public Set<EntityCapabilityType<?>> getSupportedEntityCapabilities()
FileSystemDelegate
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |