|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MMcifParser
Interface that needs to be implemented by an MMcifParser
| Method Summary | |
|---|---|
void |
addMMcifConsumer(MMcifConsumer consumer)
Add a MMcifConsumer that listens to even being triggered by the parser and processes the data into a backend provided by the Consumer. |
void |
clearConsumers()
Remove all consumers from the parser. |
void |
parse(BufferedReader buf)
Start the actual parsing. |
void |
parse(InputStream inStream)
Start the actual parsing. |
void |
removeMMcifConsumer(MMcifConsumer consumer)
remove a single consumer from the parser |
| Method Detail |
|---|
void addMMcifConsumer(MMcifConsumer consumer)
consumer - a consumer object.void clearConsumers()
void removeMMcifConsumer(MMcifConsumer consumer)
consumer -
void parse(BufferedReader buf)
throws IOException
buf - a BufferedReader.
IOException
void parse(InputStream inStream)
throws IOException
inStream - InputStream to parse from.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||