|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTSFile
TSFileX
class TSFileX
.
====================================================================== Class TSFileX -- Common access to different files. This class provides access to different 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. File-Sub-Type(input) is preserved -- class may be reused for output. Attention: -Some filetypes are ONLY written using UT-Format. However, all other formats are possible and explicitely supported. This includes the possibility, that a file is written in a compressed format, which cannot successfully loaded into MS-simulator. However, this is stated within filetype-definition. - Filetypes, which contain more than one File-Identifier, (e.g. '*.trk') must be handled by a seperate class. ##TSFileX (Eyecatcher) =======================================================================
Field Summary | |
---|---|
private java.util.HashMap<java.lang.String,TSFleTok> |
ccmp
|
private java.util.HashMap<java.lang.Integer,TSFleTok> |
cdec
|
private static java.util.HashMap<java.lang.String,TSFleTok> |
cmp
|
private static java.util.HashMap<java.lang.String,TSFleTok>[] |
cmpLst
|
private static java.util.HashMap<java.lang.Integer,TSFleTok> |
dec
|
private static java.util.HashMap<java.lang.Integer,TSFleTok>[] |
decLst
|
private static java.lang.String[][] |
FDef
|
private java.lang.String |
FKngB
|
private java.lang.String |
FKngU
|
protected static int |
FT$act
|
protected static int |
FT$car
|
protected static int |
FT$con
|
protected static int |
FT$env
|
protected static int |
FT$gts
|
protected static int |
FT$gty
|
protected static int |
FT$haz
|
protected static int |
FT$idx
|
protected static int |
FT$lts
|
protected static int |
FT$mkr
|
protected static int |
FT$pat
|
protected static int |
FT$ref
|
protected static int |
FT$shc
|
protected static int |
FT$sig
|
protected static int |
FT$sms
|
protected static int |
FT$spp
|
protected static int |
FT$srv
|
protected static int |
FT$ssc
|
protected static int |
FT$tgp
|
protected static int |
FT$tpl
|
protected static int |
FT$trf
|
protected static int |
FT$ttp
|
protected static int |
FT$ws
|
protected static int |
FT$xdb
|
protected static int |
FT$xit
|
static java.lang.String |
IdStr
|
private static int |
minIx
|
private static int |
NrRef
|
private static TSFleTok |
tok
|
private static TSFleTok |
tok1
|
private java.lang.String |
Type
|
Fields inherited from class TSFile |
---|
IA, ICB, ICT, IN, IU, IUB, IUT, OA, OAA, OB_Len, OCB, OCT, OU, OUA, OUB, OUT |
Constructor Summary | |
---|---|
protected |
TSFileX()
. |
protected |
TSFileX(int ix,
java.io.File dat)
. |
Method Summary | |
---|---|
protected java.lang.String |
chkFKng(java.lang.String K,
boolean t)
. |
protected static java.lang.String |
getDesc(int nr,
boolean dt)
. |
protected TSFleTok |
getTok(int nr)
. |
protected TSFleTok |
getTok(java.lang.String nme)
. |
protected java.lang.String |
open(boolean out)
. |
protected java.lang.String |
toStr()
. |
Methods inherited from class TSFile |
---|
chgBuf, close, getData, getErr, getMode, getPath, getStat, getTyp, open, 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
protected static final int FT$gts
protected static final int FT$lts
protected static final int FT$idx
protected static final int FT$ws
protected static final int FT$xdb
protected static final int FT$xit
protected static final int FT$sig
protected static final int FT$act
protected static final int FT$pat
protected static final int FT$srv
protected static final int FT$trf
protected static final int FT$sms
protected static final int FT$env
protected static final int FT$ssc
protected static final int FT$ttp
protected static final int FT$car
protected static final int FT$tgp
protected static final int FT$gty
protected static final int FT$spp
protected static final int FT$tpl
protected static final int FT$haz
protected static final int FT$mkr
protected static final int FT$ref
protected static final int FT$con
protected static final int FT$shc
private static final java.util.HashMap<java.lang.String,TSFleTok>[] cmpLst
private static final java.util.HashMap<java.lang.Integer,TSFleTok>[] decLst
private static final java.lang.String[][] FDef
private static final int minIx
private static final int NrRef
private static java.util.HashMap<java.lang.String,TSFleTok> cmp
private static java.util.HashMap<java.lang.Integer,TSFleTok> dec
private static TSFleTok tok
private static final TSFleTok tok1
private java.util.HashMap<java.lang.String,TSFleTok> ccmp
private java.util.HashMap<java.lang.Integer,TSFleTok> cdec
private java.lang.String FKngU
private java.lang.String FKngB
private java.lang.String Type
Constructor Detail |
---|
protected TSFileX()
===================================================================== Constructor: (1) Create Default-Entry =====================================================================
protected TSFileX(int ix, 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.TSFileX (Eyecatcher) =====================================================================
chkFKng
in class TSFile
protected static final java.lang.String getDesc(int nr, boolean dt)
===================================================================== Method "getDesc" Get description of referenced file-(-type) according to unambigous number. (datattype='false') Returns default 'regular expression' to select files if datattype(dt) is 'true'. If index/number is NOT valid, 'null' is returned. ##getDesc.TSFileX (Eyecatcher) =====================================================================
protected final TSFleTok getTok(int nr)
===================================================================== Method "getTok" (version 'expand') Get current definition of token from table (key=number) ##getTok.TSFileX (Eyecatcher) =====================================================================
getTok
in class TSFile
protected final TSFleTok getTok(java.lang.String nme)
===================================================================== Method "getTok" (version 'reduce') Get current definition of token from table (key=name) ##getTok.TSFileX (Eyecatcher) =====================================================================
getTok
in class TSFile
protected final java.lang.String open(boolean out)
===================================================================== Method "open" Open file and create Reader or Writer. If 'input' is requested: check input-mode of file All modes/formats are supported for 'input'! Method returns an error-message or 'null' if no error. This method overwrites 'open'-function from TSFile-class. !!! ONLY UT-format is used as output for THIS filetype!!! ATTENTION: Within open-processing 'chkFKng()' is called. ##open.TSFileX (Eyecatcher) =====================================================================
protected final java.lang.String toStr()
===================================================================== Method "toStr" Build an String-representation of all values of this class. ##toStr.TSFileX (Eyecatcher) =====================================================================
toStr
in class TSFile
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |