public class OutStreamDisk extends java.lang.Object implements OutStream, Concatenable
Constructor and Description |
---|
OutStreamDisk(java.io.File file) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this stream.
|
void |
concatFile(java.io.File file,
long skip)
Fuegt eine Datei binaer an.
|
long |
getWriteIndex() |
void |
writeByte(byte b) |
void |
writeBytes(byte[] bytes,
int len)
Schreibt das ByteArray in den Stream an die
aktuelle Schreibposition.
|
void |
writeInt(int i) |
void |
writeLong(long l) |
void |
writeShort(short s) |
public void close()
OutStream
public void concatFile(java.io.File file, long skip)
Concatenable
concatFile
in interface Concatenable
file
- File
skip
- long, 0 = Datei-Anfang der Quelldatei.public void writeByte(byte b)
public void writeShort(short s)
writeShort
in interface OutStream
s
- Schreibt diesen short in den Stream.public void writeInt(int i)
public void writeLong(long l)
public long getWriteIndex()
getWriteIndex
in interface OutStream
public void writeBytes(byte[] bytes, int len)
OutStream
writeBytes
in interface OutStream
bytes
- byte[] Bytes.len
- Anzahl zu Schreibender bytes.