org.apache.axis2.util
Class FileWriter

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

public class FileWriter
extends java.lang.Object


Constructor Summary
FileWriter()
           
 
Method Summary
static java.io.File createClassFile(java.io.File rootLocation, java.lang.String packageName, java.lang.String fileName, java.lang.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 java.io.File createClassFile(java.io.File rootLocation,
                                           java.lang.String packageName,
                                           java.lang.String fileName,
                                           java.lang.String extension)
                                    throws java.io.IOException,
                                           java.lang.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:
java.io.IOException
java.lang.Exception


Copyright © 2007 Apache Web Services Project. All Rights Reserved.