org.entityfs
Interface Directory
- All Superinterfaces:
- Comparable<EntityView>, Deletable, DirectoryView, Entity, EntityAcceptingEntity<DirectoryView>, EntityAcceptingEntityView<DirectoryView>, EntityHolder, EntityListable, EntityRepository, EntityView, Iterable<EntityView>, Lockable, Named, Observable, ReadLockable, ReadWriteLockable, ViewCapable<DirectoryView>, WriteLockable
- All Known Subinterfaces:
- DirectoryImplementation
- All Known Implementing Classes:
- DirectoryImpl
public interface Directory
- extends EntityAcceptingEntity<DirectoryView>, DirectoryView
This is an interface for a directory implementation. A directory is an entity
that has zero or more child entities of any type.
A directory supports being viewed through a DirectoryView
. A view
uses a Filter
to hide child entities.
In addition to the methods defined in this interface and in
DirectoryView
, a client can use the static utility methods defined in
the Directories
class.
- Since:
- 1.0
- Author:
- Karl Gustafsson
- See Also:
DirectoryView
,
Entities
,
EntityAcceptingEntities
,
Directories
- In_jar:
- entityfs-core
Methods inherited from interface org.entityfs.EntityView |
canRead, canWrite, copy, copy, copyAttributes, createLock, disconnect, getCapability, getFileSystem, getLastModified, getParent, getType, getViewed, getViewedEntity, isConnected, isRootDirectory, isValid, lock, rename, setLastModified, supportsCapability, touch |
MINIMUM_TEMP_FILE_PREFIX_LENGTH
static final int MINIMUM_TEMP_FILE_PREFIX_LENGTH
- The minimum length of the prefix when creating a temporary file. This is
the same as the minimum prefix for
File.createTempFile(String, String)
.
- See Also:
- Constant Field Values
DEFAULT_TEMP_FILE_SUFFIX
static final String DEFAULT_TEMP_FILE_SUFFIX
- The default suffix for creating temporary files, used when no other
suffix is given. This is the same as the default suffix for
File.createTempFile(String, String)
.
- See Also:
- Constant Field Values