public class FileWriterUtil extends Object
| Constructor and Description |
|---|
FileWriterUtil(String targetDir) |
| Modifier and Type | Method and Description |
|---|---|
File |
buildDir(String packageName) |
File |
getFileToWrite(String packageName,
String fileName) |
static Writer |
getWriter(File fn) |
static Writer |
getWriter(File fn,
String encoding) |
Writer |
getWriter(String packageName,
String fileName) |
boolean |
isCollision(String packageName,
String fileName) |
public FileWriterUtil(String targetDir) throws ToolException
ToolExceptionpublic File getFileToWrite(String packageName, String fileName) throws IOException
IOExceptionpublic static Writer getWriter(File fn) throws IOException
IOExceptionpublic static Writer getWriter(File fn, String encoding) throws IOException
IOExceptionpublic Writer getWriter(String packageName, String fileName) throws IOException
IOExceptionpublic boolean isCollision(String packageName, String fileName) throws ToolException
ToolExceptionApache CXF