public class FileWriter extends Object
| Constructor and Description |
|---|
FileWriter() |
| Modifier and Type | Method and Description |
|---|---|
static File |
createClassFile(File rootLocation,
String packageName,
String fileName,
String extension)
Creates/ returns a file object
|
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 etcIOExceptionExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.