Class MemoryFileSystemProperties
- java.lang.Object
-
- com.github.marschall.memoryfilesystem.MemoryFileSystemProperties
-
public class MemoryFileSystemProperties extends Object
Constant definitions for configuration parameters for creating memory file systems.Whenever possible using
MemoryFileSystemBuilder
is recommended.
-
-
Field Summary
Fields Modifier and Type Field Description static String
COLLATOR_PROPERTY
Name of the property of theCollator
used to compare path elements.static String
CURRENT_WORKING_DIRECTORY_PROPERTY
Name of the property of the current working directory.static String
DEFAULT_NAME_SEPARATOR
The default separator of path elements.static String
DEFAULT_NAME_SEPARATOR_PROPERTY
Name of the property of the separator of path elements.static String
FILE_ATTRIBUTE_VIEWS_PROPERTY
Name of the property names of the attribute view supported by the file system besides"basic"
.static String
FILE_CHANNEL_DIRECTORY_PROPERTY
Name of property for supporting opening aFileChannel
on a directory for reading even though subsequent reads will fail.static String
FILE_TIME_RESOLUTION_PROPERTY
Name of property for the resolution of the file time used for modification, access and creation time.static String
FORBIDDEN_CHARACTERS_PROPERTY
Name of the property holding the characters not allowed in file names.static String
GROUPS_PROPERTY
Name of the property holding the groups supported by the file system.static String
PATH_LOOKUP_TRANSFORMER_PROPERTY
Name of the property of theStringTransformer
used to look up files in a directory.static String
PATH_STORE_TRANSFORMER_PROPERTY
Name of the property of theStringTransformer
used to store files in a directory.static String
PRINCIPAL_TRANSFORMER_PROPERTY
Name of the property of theStringTransformer
used to look up users.static String
ROOTS_PROPERTY
Name of the property for the file system roots, aka drive letters.static String
UMASK_PROPERTY
Name of the property of the umask.static String
USERS_PROPERTY
Name of the property holding the users supported by the file system.static TemporalUnit
WINDOWS_RESOLUTION
The resolution of the Windows file system, 100ns.
-
Constructor Summary
Constructors Constructor Description MemoryFileSystemProperties()
-
-
-
Field Detail
-
WINDOWS_RESOLUTION
public static final TemporalUnit WINDOWS_RESOLUTION
The resolution of the Windows file system, 100ns.
-
DEFAULT_NAME_SEPARATOR
public static final String DEFAULT_NAME_SEPARATOR
The default separator of path elements.- See Also:
- Constant Field Values
-
DEFAULT_NAME_SEPARATOR_PROPERTY
public static final String DEFAULT_NAME_SEPARATOR_PROPERTY
Name of the property of the separator of path elements. Must be aString
.- See Also:
- Constant Field Values
-
CURRENT_WORKING_DIRECTORY_PROPERTY
public static final String CURRENT_WORKING_DIRECTORY_PROPERTY
Name of the property of the current working directory. Must be aString
and an absolute path.- See Also:
- Constant Field Values
-
ROOTS_PROPERTY
public static final String ROOTS_PROPERTY
Name of the property for the file system roots, aka drive letters. Must be aList<String>
with the like values having the following form"C:\\"
. Only supported for Windows file systems.- See Also:
- Constant Field Values
-
FILE_ATTRIBUTE_VIEWS_PROPERTY
public static final String FILE_ATTRIBUTE_VIEWS_PROPERTY
Name of the property names of the attribute view supported by the file system besides"basic"
. Must be aSet<String>
.- See Also:
AttributeView.name()
, Constant Field Values
-
FORBIDDEN_CHARACTERS_PROPERTY
public static final String FORBIDDEN_CHARACTERS_PROPERTY
Name of the property holding the characters not allowed in file names. Must be aSet<Character>
.- See Also:
- Constant Field Values
-
USERS_PROPERTY
public static final String USERS_PROPERTY
Name of the property holding the users supported by the file system. Must be aList<String>
.- See Also:
- Constant Field Values
-
GROUPS_PROPERTY
public static final String GROUPS_PROPERTY
Name of the property holding the groups supported by the file system. Must be aList<String>
.- See Also:
- Constant Field Values
-
PATH_STORE_TRANSFORMER_PROPERTY
public static final String PATH_STORE_TRANSFORMER_PROPERTY
Name of the property of theStringTransformer
used to store files in a directory.- See Also:
- Constant Field Values
-
PATH_LOOKUP_TRANSFORMER_PROPERTY
public static final String PATH_LOOKUP_TRANSFORMER_PROPERTY
Name of the property of theStringTransformer
used to look up files in a directory.- See Also:
- Constant Field Values
-
PRINCIPAL_TRANSFORMER_PROPERTY
public static final String PRINCIPAL_TRANSFORMER_PROPERTY
Name of the property of theStringTransformer
used to look up users.- See Also:
- Constant Field Values
-
FILE_TIME_RESOLUTION_PROPERTY
public static final String FILE_TIME_RESOLUTION_PROPERTY
Name of property for the resolution of the file time used for modification, access and creation time. Must be an implementation ofTemporalUnit
.
-
FILE_CHANNEL_DIRECTORY_PROPERTY
public static final String FILE_CHANNEL_DIRECTORY_PROPERTY
Name of property for supporting opening aFileChannel
on a directory for reading even though subsequent reads will fail. Must be aBoolean
.- See Also:
- JDK-8066915, JDK-8080629, JDK-8080235, Constant Field Values
-
COLLATOR_PROPERTY
public static final String COLLATOR_PROPERTY
Name of the property of theCollator
used to compare path elements.- See Also:
Path.compareTo(Path)
, Constant Field Values
-
UMASK_PROPERTY
public static final String UMASK_PROPERTY
Name of the property of the umask. The umask is a set of permissions that will be removed from newly created files. Must be aSet<PosixFilePermission>
.- See Also:
- Constant Field Values
-
-