org.apache.axis2.util
Class FileWriter

java.lang.Object
  extended by org.apache.axis2.util.FileWriter

public class FileWriter
extends Object


Constructor Summary
FileWriter()
           
 
Method Summary
static File createClassFile(File rootLocation, String packageName, String fileName, String extension)
          Creates/ returns a file object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileWriter

public FileWriter()
Method Detail

createClassFile

public static File createClassFile(File rootLocation,
                                   String packageName,
                                   String fileName,
                                   String extension)
                            throws IOException,
                                   Exception
Creates/ returns a file object

Parameters:
rootLocation - - Location to be written
packageName - - package, can be '.' separated
fileName - name of the file
extension - type of the file, java, cpp etc
Returns:
the File that was created
Throws:
IOException
Exception


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.