|
||||||||||
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ifc.bim.openecg.jtools.jparser.JParser
Splits an SCP-ECG file into its main sections 0,1,2,3,4,5,6,7,8,10,11 plus eventual generic addictional sections, and exctracts embedded data
| Field Summary | |
byte[] |
data
Stores the record data part (all except header) |
SectGen[] |
genSect
Stores all eventual addictional sections |
java.util.logging.Logger[] |
genSectLog
Stores a logger for each section |
java.util.logging.Logger |
jpLog
The main logger to store info and error messages |
char[] |
protProxy
Stores a rapresentation of leads' protected an unprotected regions |
int |
recCrc
Sores the record Crc |
int |
recLen
Stores the record length |
SectGen[] |
stdSect
Stores the standard sections (0 through 11) |
java.util.logging.Logger[] |
stdSectLog
The logger to store info and error messages |
| Constructor Summary | |
JParser(java.lang.String fName)
Constructs a Jparser that replicate the SCP-ECG record structure and start parsing the file "fName", or create a new file if it doesn't exists |
|
| Method Summary | |
int[] |
Decode(int lNum)
Decompresses lead data |
static void |
main(java.lang.String[] args)
The main method... |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.util.logging.Logger jpLog
public int recCrc
public int recLen
public byte[] data
public SectGen[] stdSect
public SectGen[] genSect
public java.util.logging.Logger[] stdSectLog
public java.util.logging.Logger[] genSectLog
public char[] protProxy
| Constructor Detail |
public JParser(java.lang.String fName)
throws java.lang.Exception
fName - the name of the file to be parsed
java.lang.Exception - if any error occurs parsing the file| Method Detail |
public static void main(java.lang.String[] args)
args - the runtime parameterspublic int[] Decode(int lNum)
lNum - the id number of the lead to be decompressed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||