com.quadrique.jbuildingblocks.core.io.file.java
Class JbbSourceFile

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.io.file.java.JbbSourceFile

public class JbbSourceFile
extends Object

This class provides goodies to manipulate java source file(s)

Version:
1.0.0
Author:
Hervé Rivere

Method Summary
static JbbSourceFile newInstance()
           
 void setHeader(File sourceFile, File headerFile, File outputFile)
           
 void setHeaderForAllFiles(File sourceFolder, File headerFile)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static JbbSourceFile newInstance()
Returns:
a new instance

setHeader

public void setHeader(File sourceFile,
                      File headerFile,
                      File outputFile)
               throws Exception
Parameters:
outputFile - the output file (you can use the same file than the source file)
Throws:
Exception

setHeaderForAllFiles

public void setHeaderForAllFiles(File sourceFolder,
                                 File headerFile)
                          throws Exception
Parameters:
outputFile - the output file (you can use the same file than the source file)
Throws:
Exception


Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.