Package mgui.io.domestic.pipelines
Class PipelineProcessLibraryWriter
java.lang.Object
mgui.io.FileWriter
mgui.io.domestic.pipelines.PipelineProcessLibraryWriter
- All Implemented Interfaces:
InterfaceIO
,IconObject
public class PipelineProcessLibraryWriter extends FileWriter
Writes a
PipelineProcessLibrary
to file. Default format is XML.- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Field Summary
Fields inherited from class mgui.io.FileWriter
dataFile, dataURL, failure_message, options, success_message
-
Constructor Summary
Constructors Constructor Description PipelineProcessLibraryWriter()
PipelineProcessLibraryWriter(java.io.File file)
-
Method Summary
Modifier and Type Method Description boolean
write(InterfaceIOOptions options, ProgressUpdater progressBar)
Writes this object according to the givenoptions
.boolean
writeLibrary(PipelineProcessLibrary library, ProgressUpdater progressBar)
Methods inherited from class mgui.io.FileWriter
getComplementIOType, getFailureMessage, getFile, getIOType, getLoaderComplement, getObjectIcon, getOptions, getProgressMessage, getSuccessMessage, getSupportedObjects, getTitle, getURL, setFile, setOptions, setURL, toString, write, write
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
PipelineProcessLibraryWriter
public PipelineProcessLibraryWriter() -
PipelineProcessLibraryWriter
public PipelineProcessLibraryWriter(java.io.File file)
-
-
Method Details
-
write
Description copied from class:FileWriter
Writes this object according to the givenoptions
. If loaded object is of typePersistentObject
, this method should also set the file writer and reference URL for the object.- Specified by:
write
in classFileWriter
- Returns:
-
writeLibrary
public boolean writeLibrary(PipelineProcessLibrary library, ProgressUpdater progressBar) throws java.io.IOException- Throws:
java.io.IOException
-