org.apache.axis2.util
Class FileWriter
java.lang.Object
org.apache.axis2.util.FileWriter
public class FileWriter
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileWriter
public FileWriter()
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 writtenpackageName
- - package, can be '.' separatedfileName
- name of the fileextension
- 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.