ter.XML
Class TransformFile

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

public class TransformFile
extends java.lang.Object

Title: TransformFile

Description: this class allows to transform a XML file in .txt File

Company: UNSA

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

Constructor Summary
TransformFile()
           
 
Method Summary
static boolean transform(java.io.File fileXML, java.io.File name, java.io.File fileXSL)
          this function transform the file fileXML in file name with the file fileXSL
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformFile

public TransformFile()
Method Detail

transform

public static boolean transform(java.io.File fileXML,
                                java.io.File name,
                                java.io.File fileXSL)
                         throws java.lang.Exception
this function transform the file fileXML in file name with the file fileXSL

Parameters:
fileXML - the name of the to transform
name - the name of result file
fileXSL - the name of XSL file
Returns:
a new File transformed
Throws:
java.lang.Exception