|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructureReader
StructureReader provides an interface for reading a protein structure
from a file.
In this first version of the program, the StructureReader interface
has only one concrete implementation, PDBStructureReader, which
expects a PDB formatted text file. Future versions of the program
will likely also have an XMLStructureReader and an
MMCIFStructureReader for reading PDBML/XML and mmCIF formats,
respectively.
| Method Summary | |
|---|---|
List<String> |
getBadLines()
Returns a list with any bad lines that were found the last time readStructure() was called. |
Structure |
readStructure(File file)
Reads a protein structure from a file and returns a Structure object. |
Structure |
readStructure(String filename)
Reads a protein structure from a file and returns a Structure object. |
| Method Detail |
|---|
Structure readStructure(String filename)
throws StructureReaderException
filename - the full name of the file to read.
StructureReaderException - if an IO error occurs.
Structure readStructure(File file)
throws StructureReaderException
file - the file to read.
StructureReaderException - if an IO error occurs.List<String> getBadLines()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||