public enum FilePathRestrictionInstance extends java.lang.Enum<FilePathRestrictionInstance>
Enum Constant and Description |
---|
LOCAL_OPTIONAL
proscribe naming that probably causes sysadmin inconvenience on the current platform
|
LOCAL_REQUIRED
proscribe naming that probably causes system problems on the current platform
|
UNIX_OPTIONAL
proscribe naming that probably causes sysadmin inconvenience on UNIX-like platforms
|
UNIX_REQUIRED
proscribe naming that probably causes system problems on UNIX-like platforms
|
WINDOWS_OPTIONAL
proscribe naming that probably causes sysadmin inconvenience on Microsoft Windows
|
WINDOWS_REQUIRED
proscribe naming that probably causes system problems on Microsoft Windows
|
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static FilePathRestrictions |
getFilePathRestrictions(FilePathRestrictionInstance... enums)
Get a set of rules by which local files may not be named on the file-system,
formed by combining the given rules identifiers with rules against control characters.
|
static FilePathRestrictions |
getFilePathRestrictions(java.lang.String... names)
Get a set of rules by which local files may not be named on the file-system,
formed by combining the rules of the given names with rules against control characters.
|
static FilePathRestrictionInstance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FilePathRestrictionInstance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilePathRestrictionInstance WINDOWS_REQUIRED
public static final FilePathRestrictionInstance WINDOWS_OPTIONAL
public static final FilePathRestrictionInstance UNIX_REQUIRED
public static final FilePathRestrictionInstance UNIX_OPTIONAL
public static final FilePathRestrictionInstance LOCAL_REQUIRED
public static final FilePathRestrictionInstance LOCAL_OPTIONAL
public static FilePathRestrictionInstance[] values()
for (FilePathRestrictionInstance c : FilePathRestrictionInstance.values()) System.out.println(c);
public static FilePathRestrictionInstance valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static FilePathRestrictions getFilePathRestrictions(java.lang.String... names)
names
- the names of the desired rulespublic static FilePathRestrictions getFilePathRestrictions(FilePathRestrictionInstance... enums)
enums
- the names of the desired rules
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.