Class WorkspaceWriter

java.lang.Object
mgui.io.FileWriter
mgui.io.standard.xml.XMLWriter
mgui.io.domestic.WorkspaceWriter
All Implemented Interfaces:
InterfaceIO, IconObject

public class WorkspaceWriter
extends XMLWriter
Writes a workspace (i.e., an instance of InterfaceWorkspace) to XML.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Constructor Details

    • WorkspaceWriter

      public WorkspaceWriter()
    • WorkspaceWriter

      public WorkspaceWriter​(java.io.File file)
  • Method Details

    • write

      public boolean write​(InterfaceIOOptions options, ProgressUpdater progress_bar)
      Description copied from class: FileWriter
      Writes this object according to the given options. If loaded object is of type PersistentObject, this method should also set the file writer and reference URL for the object.
      Specified by:
      write in class FileWriter
      Returns: