public enum FileStructure extends Enum<FileStructure> implements OpenOption, CopyOption
| Enum Constant and Description |
|---|
FILE
Indicates that files are to be treated as a continuous sequence of bytes.
|
PAGE
Indicates that files are to be treated as a set of independent indexed pages.
|
RECORD
Indicates that files are to be treated as a sequence of records.
|
| Modifier and Type | Method and Description |
|---|---|
static FileStructure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileStructure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileStructure FILE
public static final FileStructure RECORD
public static final FileStructure PAGE
public static FileStructure[] values()
for (FileStructure c : FileStructure.values()) System.out.println(c);
public static FileStructure 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 nullCopyright © 2016–2024. All rights reserved.