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 Details

    • 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:
    • DEFAULT_NAME_SEPARATOR_PROPERTY

      public static final String DEFAULT_NAME_SEPARATOR_PROPERTY
      Name of the property of the separator of path elements. Must be a String.
      See Also:
    • CURRENT_WORKING_DIRECTORY_PROPERTY

      public static final String CURRENT_WORKING_DIRECTORY_PROPERTY
      Name of the property of the current working directory. Must be a String and an absolute path.
      See Also:
    • ROOTS_PROPERTY

      public static final String ROOTS_PROPERTY
      Name of the property for the file system roots, aka drive letters. Must be a List<String> with the like values having the following form "C:\\". Only supported for Windows file systems.
      See Also:
    • 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 a Set<String>.
      See Also:
    • FORBIDDEN_CHARACTERS_PROPERTY

      public static final String FORBIDDEN_CHARACTERS_PROPERTY
      Name of the property holding the characters not allowed in file names. Must be a Set<Character>.
      See Also:
    • USERS_PROPERTY

      public static final String USERS_PROPERTY
      Name of the property holding the users supported by the file system. Must be a List<String>.
      See Also:
    • GROUPS_PROPERTY

      public static final String GROUPS_PROPERTY
      Name of the property holding the groups supported by the file system. Must be a List<String>.
      See Also:
    • PATH_STORE_TRANSFORMER_PROPERTY

      public static final String PATH_STORE_TRANSFORMER_PROPERTY
      Name of the property of the StringTransformer used to store files in a directory.
      See Also:
    • PATH_LOOKUP_TRANSFORMER_PROPERTY

      public static final String PATH_LOOKUP_TRANSFORMER_PROPERTY
      Name of the property of the StringTransformer used to look up files in a directory.
      See Also:
    • PRINCIPAL_TRANSFORMER_PROPERTY

      public static final String PRINCIPAL_TRANSFORMER_PROPERTY
      Name of the property of the StringTransformer used to look up users.
      See Also:
    • 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 of TemporalUnit.
      See Also:
    • FILE_CHANNEL_DIRECTORY_PROPERTY

      public static final String FILE_CHANNEL_DIRECTORY_PROPERTY
      Name of property for supporting opening a FileChannel on a directory for reading even though subsequent reads will fail. Must be a Boolean.
      See Also:
    • COLLATOR_PROPERTY

      public static final String COLLATOR_PROPERTY
      Name of the property of the Collator used to compare path elements.
      See Also:
    • 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 a Set<PosixFilePermission>.
      See Also:
  • Constructor Details

    • MemoryFileSystemProperties

      public MemoryFileSystemProperties()