ter.XML
Class SaveFileXML

java.lang.Object
  |
  +--ter.XML.SaveFileXML

public class SaveFileXML
extends java.lang.Object

Title: class SaveFileXML

Description: this class allows to save the detail view in XML format

Company: UNSA

Version:
1.0
Author:
Lucas Charbit - Jerome Gahide - Galbois Xavier - Gabriel Zerbib

Constructor Summary
SaveFileXML()
           
 
Method Summary
static void save(java.io.File file, ClassifierAnalyser cl)
          this function saves the Classifier cl in the File file
static void writeElements(java.io.BufferedWriter bfwriter, java.util.ArrayList list, boolean bool)
          this function write the contents of list in bfwriter if bool equals true
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveFileXML

public SaveFileXML()
Method Detail

writeElements

public static void writeElements(java.io.BufferedWriter bfwriter,
                                 java.util.ArrayList list,
                                 boolean bool)
this function write the contents of list in bfwriter if bool equals true

Parameters:
bfwriter - the BufferedWriter where we want to write
list - contains all the String we want to write
bool - the boolean who says if we must write or no

save

public static void save(java.io.File file,
                        ClassifierAnalyser cl)
this function saves the Classifier cl in the File file

Parameters:
file - the File where we want to write the classifier
cl - the classifier we want to write