Package com._1c.g5.v8.dt.core.streams
Enum IFile.SeekOrigin
- java.lang.Object
-
- java.lang.Enum<IFile.SeekOrigin>
-
- com._1c.g5.v8.dt.core.streams.IFile.SeekOrigin
-
- All Implemented Interfaces:
Serializable
,Comparable<IFile.SeekOrigin>
- Enclosing interface:
- IFile
public static enum IFile.SeekOrigin extends Enum<IFile.SeekOrigin>
-
-
Field Summary
Fields Modifier and Type Field Description long
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IFile.SeekOrigin
valueOf(String name)
Returns the enum constant of this type with the specified name.static IFile.SeekOrigin[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEG
public static final IFile.SeekOrigin BEG
-
CUR
public static final IFile.SeekOrigin CUR
-
END
public static final IFile.SeekOrigin END
-
-
Method Detail
-
values
public static IFile.SeekOrigin[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IFile.SeekOrigin c : IFile.SeekOrigin.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IFile.SeekOrigin valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-