|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.marvin.io.MRecord
public class MRecord
Record in a multi-molecule file.
| Field Summary | |
|---|---|
static int |
F_MOL_MISSING
Molecule (or reaction) is missing from the record. |
protected MPropertyContainer |
properties
|
| Constructor Summary | |
|---|---|
MRecord(long start,
long end,
int lineno,
java.lang.String s,
MPropertyContainer p,
int[] lmap)
Creates a record. |
|
MRecord(long start,
long end,
int lineno,
java.lang.String s,
MPropertyContainer p,
int[] lmap,
int descflags)
Creates a record. |
|
| Method Summary | |
|---|---|
long |
getEndPosition()
Gets the end position in the input file. |
int |
getFlags()
Gets the record descriptor flags. |
int[] |
getLineNumberMap()
Gets the line number to original line number mapping. |
MPropertyContainer |
getPropertyContainer()
Gets the properties. |
int |
getStartLineCount()
Gets the line number at the starting point. |
long |
getStartPosition()
Gets the start position in the input file. |
java.lang.String |
getString()
Gets the record text as string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int F_MOL_MISSING
getFlags(),
Constant Field Valuesprotected MPropertyContainer properties
| Constructor Detail |
|---|
public MRecord(long start,
long end,
int lineno,
java.lang.String s,
MPropertyContainer p,
int[] lmap)
start - the start position in input fileend - the end position in input filelineno - the line number at the starting points - the record stringp - the propertieslmap - original line numbers
public MRecord(long start,
long end,
int lineno,
java.lang.String s,
MPropertyContainer p,
int[] lmap,
int descflags)
start - the start position in input fileend - the end position in input filelineno - the line number at the starting points - the record stringp - the propertieslmap - original line numbersdescflags - extra record descriptor flags| Method Detail |
|---|
public java.lang.String getString()
IOException - If I/O error occuredMRecordReader.getHeaderAsString(),
MRecordReader.getFooterAsString()public MPropertyContainer getPropertyContainer()
public int[] getLineNumberMap()
public long getStartPosition()
public long getEndPosition()
public int getStartLineCount()
public int getFlags()
F_MOL_MISSING
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||