|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectloci.formats.FormatHandler
loci.formats.FormatWriter
Abstract superclass of all biological file format writers.
| Field Summary | |
protected int |
fps
Frame rate to use when writing in frames per second, if applicable. |
| Fields inherited from class loci.formats.FormatHandler |
chooser, currentId, filters, format, suffixes |
| Constructor Summary | |
FormatWriter(String format,
String suffix)
Constructs a format writer with the given name and default suffix. |
|
FormatWriter(String format,
String[] suffixes)
Constructs a format writer with the given name and default suffixes. |
|
| Method Summary | |
int |
getFramesPerSecond()
Gets the frames per second to use when writing. |
void |
save(String id,
Image[] images)
Saves the given images to the specified file. |
abstract void |
save(String id,
Image image,
boolean last)
Saves the given image to the specified (possibly already open) file. |
void |
setFramesPerSecond(int fps)
Sets the frames per second to use when writing. |
void |
testConvert(String[] args)
A utility method for converting a file from the command line. |
| Methods inherited from class loci.formats.FormatHandler |
createFilters, getFileChooser, getFileFilters, getFormat, getSuffixes, isThisType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int fps
| Constructor Detail |
public FormatWriter(String format,
String suffix)
public FormatWriter(String format,
String[] suffixes)
| Method Detail |
public abstract void save(String id,
Image image,
boolean last)
throws FormatException,
IOException
FormatException
IOException
public void save(String id,
Image[] images)
throws FormatException,
IOException
FormatException
IOExceptionpublic void setFramesPerSecond(int fps)
public int getFramesPerSecond()
public void testConvert(String[] args)
throws FormatException,
IOException
FormatException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||