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
MemoryFileSystemBuilderis recommended.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOLLATOR_PROPERTYName of the property of theCollatorused to compare path elements.static StringCURRENT_WORKING_DIRECTORY_PROPERTYName of the property of the current working directory.static StringDEFAULT_NAME_SEPARATORThe default separator of path elements.static StringDEFAULT_NAME_SEPARATOR_PROPERTYName of the property of the separator of path elements.static StringFILE_ATTRIBUTE_VIEWS_PROPERTYName of the property names of the attribute view supported by the file system besides"basic".static StringFILE_CHANNEL_DIRECTORY_PROPERTYName of property for supporting opening aFileChannelon a directory for reading even though subsequent reads will fail.static StringFILE_TIME_RESOLUTION_PROPERTYName of property for the resolution of the file time used for modification, access and creation time.static StringFORBIDDEN_CHARACTERS_PROPERTYName of the property holding the characters not allowed in file names.static StringGROUPS_PROPERTYName of the property holding the groups supported by the file system.static StringPATH_LOOKUP_TRANSFORMER_PROPERTYName of the property of theStringTransformerused to look up files in a directory.static StringPATH_STORE_TRANSFORMER_PROPERTYName of the property of theStringTransformerused to store files in a directory.static StringPRINCIPAL_TRANSFORMER_PROPERTYName of the property of theStringTransformerused to look up users.static StringROOTS_PROPERTYName of the property for the file system roots, aka drive letters.static StringUMASK_PROPERTYName of the property of the umask.static StringUSERS_PROPERTYName of the property holding the users supported by the file system.static TemporalUnitWINDOWS_RESOLUTIONThe 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 aStringand 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 theStringTransformerused 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 theStringTransformerused 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 theStringTransformerused 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 aFileChannelon 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 theCollatorused 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
-
-