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
ToolException
public File getFileToWrite(String packageName, String fileName) throws IOException
IOException
public static Writer getWriter(File fn) throws IOException
IOException
public static Writer getWriter(File fn, String encoding) throws IOException
IOException
public Writer getWriter(String packageName, String fileName) throws IOException
IOException
public boolean isCollision(String packageName, String fileName) throws ToolException
ToolException
Apache CXF