br.ufg.integrate.util
Class CreateOutputFile

java.lang.Object
  extended by br.ufg.integrate.util.CreateOutputFile

public class CreateOutputFile
extends Object

Version:
0.1 Manipula a criação de arquivos no sistema de arquivos onde está rodando o Integrate. O conteúdo do arquivo deve ser informado como argumento.
Author:
Rogerio

Constructor Summary
CreateOutputFile()
           
 
Method Summary
static void createTextFile(String filename, StringBuilder text, boolean append)
          Cria um arquivo texto.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateOutputFile

public CreateOutputFile()
Method Detail

createTextFile

public static void createTextFile(String filename,
                                  StringBuilder text,
                                  boolean append)
                           throws IntegrateException
Cria um arquivo texto.

Parameters:
filename - Nome/local do arquivo.
text - Conteúdo do arquivo texto.
append - Se insere o conteúdo no final do arquivo o sobrepõe o conteúdo existente.
Throws:
IntegrateException


Copyright © 2008 Rogério Arantes Gaioso. All Rights Reserved.