public enum FileSource extends Enum<FileSource>
Enum Constant and Description |
---|
APPEND
The file from new input.
|
COMPACT
The file from compaction.
|
Modifier and Type | Method and Description |
---|---|
static FileSource |
fromByteValue(byte value) |
byte |
toByteValue() |
static FileSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSource APPEND
public static final FileSource COMPACT
public static FileSource[] values()
for (FileSource c : FileSource.values()) System.out.println(c);
public static FileSource 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 byte toByteValue()
public static FileSource fromByteValue(byte value)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.