public enum FilePathRestrictionInstance extends java.lang.Enum<FilePathRestrictionInstance>
列挙型定数と説明 |
---|
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
|
修飾子とタイプ | フィールドと説明 |
---|---|
java.lang.String |
name |
修飾子とタイプ | メソッドと説明 |
---|---|
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)
指定した名前を持つこの型の列挙型定数を返します。
|
static FilePathRestrictionInstance[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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 FilePathRestrictionInstance[] values()
for(FilePathRestrictionInstance c: FilePathRestrictionInstance.values()) System.out.println(c);
public static FilePathRestrictionInstance valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public static FilePathRestrictions getFilePathRestrictions(java.lang.String... names)
names
- the names of the desired rulespublic static FilePathRestrictions getFilePathRestrictions(FilePathRestrictionInstance... enums)
names
- the names of the desired rules