public static enum FileOutputOutputStream.CloseMode extends Enum<FileOutputOutputStream.CloseMode>
Enum Constant and Description |
---|
CLOSE |
FLUSH |
FLUSH_FINISH |
FLUSH_FINISH_CLOSE |
Modifier and Type | Method and Description |
---|---|
static FileOutputOutputStream.CloseMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileOutputOutputStream.CloseMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileOutputOutputStream.CloseMode FLUSH
public static final FileOutputOutputStream.CloseMode FLUSH_FINISH
public static final FileOutputOutputStream.CloseMode FLUSH_FINISH_CLOSE
public static final FileOutputOutputStream.CloseMode CLOSE
public static FileOutputOutputStream.CloseMode[] values()
for (FileOutputOutputStream.CloseMode c : FileOutputOutputStream.CloseMode.values()) System.out.println(c);
public static FileOutputOutputStream.CloseMode 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 null