public class FileWriter extends Object
Constructor and Description |
---|
FileWriter() |
public static File createClassFile(File rootLocation, String packageName, String fileName, String extension) throws IOException, Exception
rootLocation
- - Location to be writtenpackageName
- - package, can be '.' separatedfileName
- name of the fileextension
- type of the file, java, cpp etcIOException
Exception
Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.