Package org.apache.axis2.util
Class FileWriter
- java.lang.Object
-
- org.apache.axis2.util.FileWriter
-
public class FileWriter extends Object
-
-
Constructor Summary
Constructors Constructor Description FileWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
createClassFile(File rootLocation, String packageName, String fileName, String extension)
Creates/ returns a file object
-
-
-
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 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
-
-