public class OutStreamAdapterBuffered extends java.lang.Thread implements OutStream, Concatenable
Constructor and Description |
---|
OutStreamAdapterBuffered(java.io.File file) |
OutStreamAdapterBuffered(java.io.OutputStream os) |
OutStreamAdapterBuffered(java.io.OutputStream os,
int bufferSize) |
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 |
run() |
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) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public OutStreamAdapterBuffered(java.io.OutputStream os)
public OutStreamAdapterBuffered(java.io.OutputStream os, int bufferSize)
public OutStreamAdapterBuffered(java.io.File file)
public final void close()
OutStream
public final void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public final void writeByte(byte b)
public final void writeShort(short s)
writeShort
in interface OutStream
s
- Schreibt diesen short in den Stream.public final void writeInt(int i)
public final void writeLong(long l)
public final long getWriteIndex()
getWriteIndex
in interface OutStream
public final void writeBytes(byte[] bytes, int len)
OutStream
writeBytes
in interface OutStream
bytes
- byte[] Bytes.len
- Anzahl zu Schreibender bytes.public void concatFile(java.io.File file, long skip)
Concatenable
concatFile
in interface Concatenable
file
- File
skip
- long, 0 = Datei-Anfang der Quelldatei.