public enum FileMinusMode extends Enum<FileMinusMode>
Enum Constant and Description |
---|
CLOSE
关闭
|
CURRENT
从文件当前位置读取
|
OFFSET
从length - offset开始
|
RESUME
重新开始
|
THROWS
抛出异常
|
Modifier and Type | Method and Description |
---|---|
static FileMinusMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileMinusMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileMinusMode CLOSE
public static final FileMinusMode CURRENT
public static final FileMinusMode RESUME
public static final FileMinusMode OFFSET
public static final FileMinusMode THROWS
public static FileMinusMode[] values()
for (FileMinusMode c : FileMinusMode.values()) System.out.println(c);
public static FileMinusMode 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.