|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTSFile
TSFile$td
class TSFile$td
.
====================================================================== Class TSFile$td -- Common access to '.td' files This class provides access to '.td'/'.tdl' TS-Files in the same way as access to S-/T- or W-Files is used. Input: File-ID is read and checked. Output: Correct File-ID is added automatically. Attention: File is written using UB-Format. No other format is supported. ##TSFile$td (Eyecatcher) =======================================================================
Field Summary | |
---|---|
private TSByteArrIO |
BIO
|
private int |
EoP
|
private static java.lang.String |
FKngB
|
static java.lang.String |
IdStr
|
private static byte[] |
Prfx
|
Fields inherited from class TSFile |
---|
IA, ICB, ICT, IN, IU, IUB, IUT, OA, OAA, OB_Len, OCB, OCT, OU, OUA, OUB, OUT, tok1 |
Constructor Summary | |
---|---|
protected |
TSFile$td()
. |
protected |
TSFile$td(java.io.File dat)
. |
Method Summary | |
---|---|
protected java.lang.String |
chkFKng(java.lang.String K,
boolean t)
. |
protected java.lang.String |
close()
. |
protected java.lang.String |
load(TSByteArrIO cB)
. |
protected java.lang.String |
open(int iom)
. |
java.lang.String |
open(TSByteArrIO cB)
. |
protected java.lang.String |
toStr()
. |
Methods inherited from class TSFile |
---|
chgBuf, getData, getErr, getMode, getPath, getStat, getTok, getTok, getTyp, prtMode, putData, Reduce, setBuffer, setTyp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IdStr
private static final java.lang.String FKngB
private static final byte[] Prfx
private TSByteArrIO BIO
private int EoP
Constructor Detail |
---|
protected TSFile$td()
===================================================================== Constructor: (1) Create Default-Entry =====================================================================
protected TSFile$td(java.io.File dat)
===================================================================== Constructor: (2) Create Standard-Entry =====================================================================
Method Detail |
---|
protected final java.lang.String chkFKng(java.lang.String K, boolean t)
===================================================================== Method "chkFKng" Check File-Identifier for current type of file. If argument is 'null', the full key is provided (for write). ##chkFKng.TSFile$td (Eyecatcher) =====================================================================
chkFKng
in class TSFile
protected final java.lang.String close()
===================================================================== Method "close" This method completes the file-structure and closes the file. Attention: File must be opened for 'output', which is checked using value of 'EoP', which must be greater than '14'. This method overwrites 'close'-function from TSFile-class. ##close.TSFile$td (Eyecatcher) =====================================================================
close
in class TSFile
protected final java.lang.String load(TSByteArrIO cB)
===================================================================== Method "load" Open '.td'/'.tdl'-file for input and establish 'BIO' as IO-buffer. Load complete file into binary buffer and close file again. Attention: This method ALSO skips a prefix of 18 bytes within buffer just read. ##load.TSFile$td (Eyecatcher) =====================================================================
public final java.lang.String open(TSByteArrIO cB)
===================================================================== Method "open" Open file for OUTPUT and create Writer. Write file-ID using mode UB (file is a binary object) Method returns an error-message or 'null' if no error. ATTENTION: - Within open-processing 'chkFKng()' is called. - This method is ONLY used for OUTPUT. Open-Input is implemented into 'load'-call. ##open.TSFile$td (Eyecatcher) =====================================================================
protected final java.lang.String open(int iom)
===================================================================== Method "open" This method-call blocks super-class function 'open'. Method throws an exception to terminate with a systemerror. This method overwrites 'open'-function from TSFile-class. ##open.TSFile$td (Eyecatcher) =====================================================================
open
in class TSFile
protected final java.lang.String toStr()
===================================================================== Method "toStr" Build an String-representation of all values of this class. ##toStr.TSFile$td (Eyecatcher) =====================================================================
toStr
in class TSFile
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |