Package org.cryptomator.cryptofs.common
Enum FileSystemCapabilityChecker.Capability
- java.lang.Object
-
- java.lang.Enum<FileSystemCapabilityChecker.Capability>
-
- org.cryptomator.cryptofs.common.FileSystemCapabilityChecker.Capability
-
- All Implemented Interfaces:
Serializable,Comparable<FileSystemCapabilityChecker.Capability>
- Enclosing class:
- FileSystemCapabilityChecker
public static enum FileSystemCapabilityChecker.Capability extends Enum<FileSystemCapabilityChecker.Capability>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LONG_FILENAMESFile system supports filenames with ≥ 230 chars.LONG_PATHSFile system supports paths with ≥ 400 chars.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileSystemCapabilityChecker.CapabilityvalueOf(String name)Returns the enum constant of this type with the specified name.static FileSystemCapabilityChecker.Capability[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LONG_FILENAMES
public static final FileSystemCapabilityChecker.Capability LONG_FILENAMES
File system supports filenames with ≥ 230 chars.
-
LONG_PATHS
public static final FileSystemCapabilityChecker.Capability LONG_PATHS
File system supports paths with ≥ 400 chars.
-
-
Method Detail
-
values
public static FileSystemCapabilityChecker.Capability[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileSystemCapabilityChecker.Capability c : FileSystemCapabilityChecker.Capability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileSystemCapabilityChecker.Capability valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-