public abstract class AbstractRawFileOperationSupport extends Object implements RawFileOperationSupport
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractRawFileOperationSupport.RawFileOperationSupportHolder |
RawFileOperationSupport.FileAccessMode, RawFileOperationSupport.RawFileDescriptor| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRawFileOperationSupport(boolean useNativeByteOrder) |
| Modifier and Type | Method and Description |
|---|---|
RawFileOperationSupport.RawFileDescriptor |
open(String filename,
RawFileOperationSupport.FileAccessMode mode)
Opens or creates a file with the specified
access mode. |
boolean |
write(RawFileOperationSupport.RawFileDescriptor fd,
byte[] data)
Writes data to the current file position and advances the file position.
|
boolean |
writeBoolean(RawFileOperationSupport.RawFileDescriptor fd,
boolean data)
Writes data to the current file position and advances the file position.
|
boolean |
writeByte(RawFileOperationSupport.RawFileDescriptor fd,
byte data)
Writes data to the current file position and advances the file position.
|
boolean |
writeChar(RawFileOperationSupport.RawFileDescriptor fd,
char data)
Writes a char value in the specified byte ordering to the current file position and advances
the file position.
|
boolean |
writeInt(RawFileOperationSupport.RawFileDescriptor fd,
int data)
Writes an integer value in the specified byte ordering to the current file position and
advances the file position.
|
boolean |
writeLong(RawFileOperationSupport.RawFileDescriptor fd,
long data)
Writes a long value in the specified byte ordering to the current file position and advances
the file position.
|
boolean |
writeShort(RawFileOperationSupport.RawFileDescriptor fd,
short data)
Writes a short value in the specified byte ordering to the current file position and advances
the file position.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbigEndian, close, isValid, littleEndian, nativeByteOrder, open, position, read, seek, size, writeprotected AbstractRawFileOperationSupport(boolean useNativeByteOrder)
public RawFileOperationSupport.RawFileDescriptor open(String filename, RawFileOperationSupport.FileAccessMode mode)
RawFileOperationSupportaccess mode.open in interface RawFileOperationSupportRawFileOperationSupport.isValid(com.oracle.svm.core.os.RawFileOperationSupport.RawFileDescriptor) will return false.public boolean write(RawFileOperationSupport.RawFileDescriptor fd, byte[] data)
RawFileOperationSupportwrite in interface RawFileOperationSupportpublic boolean writeBoolean(RawFileOperationSupport.RawFileDescriptor fd, boolean data)
RawFileOperationSupportwriteBoolean in interface RawFileOperationSupportpublic boolean writeByte(RawFileOperationSupport.RawFileDescriptor fd, byte data)
RawFileOperationSupportwriteByte in interface RawFileOperationSupportpublic boolean writeShort(RawFileOperationSupport.RawFileDescriptor fd, short data)
RawFileOperationSupportwriteShort in interface RawFileOperationSupportpublic boolean writeChar(RawFileOperationSupport.RawFileDescriptor fd, char data)
RawFileOperationSupportwriteChar in interface RawFileOperationSupportpublic boolean writeInt(RawFileOperationSupport.RawFileDescriptor fd, int data)
RawFileOperationSupportwriteInt in interface RawFileOperationSupportpublic boolean writeLong(RawFileOperationSupport.RawFileDescriptor fd, long data)
RawFileOperationSupportwriteLong in interface RawFileOperationSupport