final class FileRepresentation extends Object
| Modifier and Type | Field and Description |
|---|---|
private DataInputStream |
_inputStream |
private RandomAccessFile |
_randomAccessFile |
(package private) File |
_tempFile |
| Constructor and Description |
|---|
FileRepresentation()
Erstellt eine FileRepresentation-Klasse
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
delete() |
protected void |
finalize() |
DataInputStream |
getInputStream() |
Object |
read(QueueSerializer q) |
byte[] |
readBytes(int len) |
void |
seek(long position) |
void |
setLength(long newLength) |
String |
toString() |
void |
writeBytes(byte[] writeBuffer,
int len) |
private final DataInputStream _inputStream
private final RandomAccessFile _randomAccessFile
final File _tempFile
public FileRepresentation()
throws IOException
IOException - -public void seek(long position)
public Object read(QueueSerializer q) throws IOException
IOExceptionpublic void delete()
public void clear()
throws IOException
IOExceptionprotected void finalize()
throws Throwable
public void setLength(long newLength)
throws IOException
IOExceptionpublic byte[] readBytes(int len)
throws IOException
IOExceptionpublic void writeBytes(byte[] writeBuffer,
int len)
throws IOException
IOExceptionpublic DataInputStream getInputStream()