net.sourceforge.ganttproject
Class GanttXMLSaver

java.lang.Object
  |
  +--net.sourceforge.ganttproject.GanttXMLSaver

public class GanttXMLSaver
extends java.lang.Object

Classe for save the project in a XML file


Constructor Summary
GanttXMLSaver(java.lang.String name, java.lang.String desc, java.lang.String orga, GanttTree tree, GanttResourcePanel peop, GanttGraphicArea area)
          The constructor
 
Method Summary
 java.lang.String correct(java.lang.String s)
          Correct the charcters to be compatible with xml format
 java.lang.String replaceAll(java.lang.String notes, java.lang.String s1, java.lang.String s2)
          Replace a part of the string by another one
 void save(java.io.OutputStream stream, java.lang.String version)
          Save the project on a XML file
 void writeAllocations(java.io.OutputStreamWriter fout)
          Write the assignement between tasks and users
 void writeResources(java.io.OutputStreamWriter fout)
          Write the resources on the file
 void writeTask(java.io.OutputStreamWriter fout, javax.swing.tree.DefaultMutableTreeNode node, java.lang.String space)
          Simple write information of tasks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GanttXMLSaver

public GanttXMLSaver(java.lang.String name,
                     java.lang.String desc,
                     java.lang.String orga,
                     GanttTree tree,
                     GanttResourcePanel peop,
                     GanttGraphicArea area)
The constructor

Method Detail

replaceAll

public java.lang.String replaceAll(java.lang.String notes,
                                   java.lang.String s1,
                                   java.lang.String s2)
Replace a part of the string by another one


writeTask

public void writeTask(java.io.OutputStreamWriter fout,
                      javax.swing.tree.DefaultMutableTreeNode node,
                      java.lang.String space)
Simple write information of tasks


writeResources

public void writeResources(java.io.OutputStreamWriter fout)
Write the resources on the file


writeAllocations

public void writeAllocations(java.io.OutputStreamWriter fout)
Write the assignement between tasks and users


correct

public java.lang.String correct(java.lang.String s)
Correct the charcters to be compatible with xml format


save

public void save(java.io.OutputStream stream,
                 java.lang.String version)
Save the project on a XML file



${copyright}