|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectffe.parsers.SystemFilter
The SystemFilter class is the base class for most file parsers.
| Field Summary | |
static byte |
ARC
|
protected java.util.ArrayList |
atomList
The atoms and bonds ArrayLists are filled by the filters that extend this base class. |
protected java.util.ArrayList |
bondList
|
protected boolean |
file_read
|
protected byte |
filetype
|
protected MainPanel |
fpanel
|
protected FSystem |
fsystem
|
static byte |
INT
|
protected MMFilter |
mmfilter
|
static byte |
NED
|
static byte |
PDB
|
static byte |
SIM
|
protected javax.swing.JLabel |
statusBar
|
static byte |
XYZ
|
| Constructor Summary | |
SystemFilter()
|
|
SystemFilter(FSystem f,
MainPanel m)
|
|
SystemFilter(FSystem f,
MMFilter mm,
MainPanel m)
|
|
| Method Summary | |
boolean |
FileRead()
Returns true if the read was successful |
FSystem |
getFSystem()
Return the FSystem that has been read in |
byte |
getType()
|
abstract boolean |
readfile()
This method is different for each subclass and must be overidden |
void |
run()
|
void |
setFileRead(boolean b)
|
void |
setFSystem(FSystem f)
|
void |
setType(byte t)
|
static java.lang.String |
toFileString(byte filetype)
|
static java.io.File |
version(java.io.File file)
|
abstract boolean |
writefile()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected FSystem fsystem
protected java.util.ArrayList atomList
protected java.util.ArrayList bondList
protected MMFilter mmfilter
protected boolean file_read
protected byte filetype
protected MainPanel fpanel
protected javax.swing.JLabel statusBar
public static final byte XYZ
public static final byte INT
public static final byte ARC
public static final byte PDB
public static final byte SIM
public static final byte NED
| Constructor Detail |
public SystemFilter()
public SystemFilter(FSystem f,
MainPanel m)
public SystemFilter(FSystem f,
MMFilter mm,
MainPanel m)
| Method Detail |
public abstract boolean readfile()
public abstract boolean writefile()
public void run()
run in interface java.lang.Runnablepublic FSystem getFSystem()
public void setFSystem(FSystem f)
public boolean FileRead()
public void setFileRead(boolean b)
public void setType(byte t)
public byte getType()
public static java.lang.String toFileString(byte filetype)
public static java.io.File version(java.io.File file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||