|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileSystemAdapter
This is the file system's backend adapter.
The methods in this interface should only be used by file system and capability implementations.
Unlike FileSystemDelegate
:s, file system adapters
must never be proxied. Clients should always be able to assume a specific
implementation, if they have reason to know about it. For instance, a
capability implementation that is specific for a file system implementation
must always be able to cast a file system adapter to that file system's
implementation of it.
Method Summary | |
---|---|
void |
close()
The file system delegates to this method when it is closed. |
int |
getBufferSize()
Get the default size of temporary memory buffers for the file system |
LogAdapter |
getLogAdapter()
Get the file system's log adapter. |
void |
init()
This method is called after the file system has been created but before it is published. |
boolean |
isCaseSensitive()
Is the file system backend case sensitive? |
void |
validateEntityName(String name,
EntityType et)
Validate that the entity name is valid in this file system implementation. |
Method Detail |
---|
void init()
LogAdapter getLogAdapter()
boolean isCaseSensitive()
true
if the file system is case sensitive.void close()
void validateEntityName(String name, EntityType et) throws IllegalArgumentException
EntityLocations.validateEntityName(String)
.
name
- The name to validate.et
- The type of the entity.
IllegalArgumentException
- If the entity name is invalid.int getBufferSize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |