public class NexusComment extends Object implements NexusObject
Constructor and Description |
---|
NexusComment() |
Modifier and Type | Method and Description |
---|---|
void |
addCommentText(String text) |
void |
closeSubComment() |
Iterator |
commentIterator()
This iterator iterates over all parts of the comment.
|
boolean |
hasOpenSubComment() |
void |
openSubComment() |
void |
writeObject(Writer writer)
Writes this object to the given writer.
|
public NexusComment()
public void openSubComment()
public boolean hasOpenSubComment()
public void closeSubComment()
public void addCommentText(String text)
public Iterator commentIterator()
public void writeObject(Writer writer) throws IOException
NexusObject
writeObject
in interface NexusObject
writer
- the writer to write to.IOException
- if it could not be written.Copyright © 2014 BioJava. All rights reserved.