|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.ByteArrayOutputStream
TSFleOutStream
class TSFleOutStream
===================================================================== Class TSFleOutStream -- Extension of 'ByteArrayOutputStream' OutputStream to buffer-array (reduced TSFile-data) This class also contains some (static) methods to change buffer-contents ##TSFleOutStream (Eyecatcher) =====================================================================
Field Summary | |
---|---|
protected static java.lang.String |
IdStr
|
Fields inherited from class java.io.ByteArrayOutputStream |
---|
buf, count |
Constructor Summary | |
---|---|
protected |
TSFleOutStream()
==================================================================== Constructor: (1) Create Default-Entry ==================================================================== |
protected |
TSFleOutStream(int bl)
==================================================================== Constructor: (2) Create Standard-Entry ==================================================================== |
Method Summary | |
---|---|
protected static long |
getInt(int len,
byte[] src,
int ofs)
==================================================================== Method "getInt" (static version) Get back Integer-value from Byte-Array as 'long' assuming MS-Format Attention: Method is also called from (TSUtil.)' |
protected java.lang.String |
putByte(int val,
int pos)
==================================================================== Method "putByte" Write byte to output-buffer Returns error-message if request fails ('null' if no error) Attention: method CANNOT add new bytes to buffer. |
protected java.lang.String |
putInt(long val,
int len)
==================================================================== Method "putInt" Write Integer/unsigned Integer to output-buffer using MS-Format Returns error-message if request fails ('null' if no error) ##putInt.TSFleOutStream (Eyecatcher) ==================================================================== |
protected static java.lang.String |
putInt(long val,
int len,
byte[] dst,
int pos)
==================================================================== Method "putInt" (static version) Write Integer/unsigned Integer to target-array using MS-Format Returns error-message if request fails ('null' if no error) Attention: Method is also called from (TSUtil.)' |
protected java.lang.String |
putInt(long val,
int len,
int pos)
==================================================================== Method "putInt" (2. version) Write Integer/unsigned Integer to output-buffer using MS-Format Returns error-message if request fails ('null' if no error) Attention: method CANNOT add new bytes to buffer. |
protected java.lang.String |
putString(java.lang.String s,
boolean nol)
==================================================================== Method "putString" Convert Unicode-String to output-buffer ('Label' or data) Returns error-message if request fails ('null' if no error) If 'data' is written, a length-field (short) is inserted before the Unicode-String. |
protected java.lang.String |
toStr()
==================================================================== Method "toStr" Build a string-representation of all values of this class ##toStr.TSFleOutStream (Eyecatcher) ==================================================================== |
protected java.lang.String |
write(java.io.File dat)
==================================================================== Method "write" Write complete buffer to targetfile Returns error-message if request fails ('null' if no error) ##write.TSFleOutStream (Eyecatcher) ==================================================================== |
Methods inherited from class java.io.ByteArrayOutputStream |
---|
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo |
Methods inherited from class java.io.OutputStream |
---|
flush, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String IdStr
Constructor Detail |
---|
protected TSFleOutStream()
protected TSFleOutStream(int bl)
Method Detail |
---|
protected static final long getInt(int len, byte[] src, int ofs)
protected final java.lang.String putByte(int val, int pos)
protected final java.lang.String putInt(long val, int len)
protected final java.lang.String putInt(long val, int len, int pos)
protected static final java.lang.String putInt(long val, int len, byte[] dst, int pos)
protected final java.lang.String putString(java.lang.String s, boolean nol)
protected final java.lang.String write(java.io.File dat)
protected final java.lang.String toStr()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |