|
||||||||||
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(java.io.BufferedReader buf)
Start the actual parsing. |
void |
parse(java.io.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(java.io.BufferedReader buf) throws java.io.IOException
buf
- a BufferedReader.
java.io.IOException
void parse(java.io.InputStream inStream) throws java.io.IOException
inStream
- InputStream to parse from.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |