public interface MMcifParser
| Modifier and Type | Method and Description |
|---|---|
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
|
void addMMcifConsumer(MMcifConsumer consumer)
consumer - a consumer object.void clearConsumers()
void removeMMcifConsumer(MMcifConsumer consumer)
consumer - void parse(BufferedReader buf) throws IOException
buf - a BufferedReader.IOExceptionvoid parse(InputStream inStream) throws IOException
inStream - InputStream to parse from.IOExceptionCopyright © 2000–2016 BioJava. All rights reserved.