public enum FileOffsetMode extends Enum<FileOffsetMode>
Enum Constant and Description |
---|
BYTE
跳过字节 tail -c
|
LINE
跳过行 tail -n
|
Modifier and Type | Method and Description |
---|---|
static FileOffsetMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileOffsetMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileOffsetMode BYTE
public static final FileOffsetMode LINE
public static FileOffsetMode[] values()
for (FileOffsetMode c : FileOffsetMode.values()) System.out.println(c);
public static FileOffsetMode 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 © 2024. All rights reserved.