public class FileWriter
extends java.lang.Object
| Constructor and Description |
|---|
FileWriter() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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
rootLocation - - Location to be writtenpackageName - - package, can be '.' separatedfileName - name of the fileextension - type of the file, java, cpp etcjava.io.IOExceptionjava.lang.ExceptionCopyright © 2004-2018 The Apache Software Foundation. All Rights Reserved.