public interface SequenceCanvasObject
Modifier and Type | Method and Description |
---|---|
void |
changeCase()
Changes the case of the currently selected sequence.
|
void |
deleteSelection()
Cuts/deletes the content selected in the sequence canvas object.
|
void |
readIn(DataFormat format,
java.util.Scanner source,
boolean overwrite)
Reads contents into the current sequence canvas object.
|
void |
writeOut(DataFormat format,
java.lang.Appendable dest)
Writes the current contents of the canvas object to an Appendable object.
|
void deleteSelection()
void writeOut(DataFormat format, java.lang.Appendable dest) throws java.io.IOException
format
- the format to write the data in.dest
- the destination Appendable object to write the data.java.io.IOException
- throws an IOException if there is any error
appending the data to the Appendable object.void readIn(DataFormat format, java.util.Scanner source, boolean overwrite) throws java.io.IOException
format
- the file format to write the data in.source
- the data source to read data from.overwrite
- whether to overwrite the data currently selected
in the canvas object.java.io.IOException
- throws an IOException if there is any error
reading data from the Scanner object.void changeCase()
xYzJWwa23 --- will become ---> WYZJWWA23
Copyright © 2008-2022 University of Manitoba.