public enum FilePathRestrictionInstance extends 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 | 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(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(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 final String name
public static FilePathRestrictionInstance[] values()
for (FilePathRestrictionInstance c : FilePathRestrictionInstance.values()) System.out.println(c);
public static FilePathRestrictionInstance valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static FilePathRestrictions getFilePathRestrictions(String... names)
names
- the names of the desired rulespublic static FilePathRestrictions getFilePathRestrictions(FilePathRestrictionInstance... enums)
enums
- the names of the desired rules
Version: 5.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.