public enum EnumFileAccessMode extends Enum<EnumFileAccessMode>
Enum Constant and Description |
---|
MAPPED_RANDOM_FILE_ACCESS
use of java.nio.MappedByteBuffer without file size limitation
|
NIO_RANDOM_FILE_ACCESS
use of java.io.RandomAccessFile and java.nio.ByteBuffer
|
RANDOM_FILE_ACCESS
use of java.io.RandomAccessFile
|
Modifier and Type | Method and Description |
---|---|
static EnumFileAccessMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumFileAccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFileAccessMode RANDOM_FILE_ACCESS
public static final EnumFileAccessMode NIO_RANDOM_FILE_ACCESS
public static final EnumFileAccessMode MAPPED_RANDOM_FILE_ACCESS
public static EnumFileAccessMode[] values()
for (EnumFileAccessMode c : EnumFileAccessMode.values()) System.out.println(c);
public static EnumFileAccessMode 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 © 2007-2012 Luc Peuvrier. All Rights Reserved.