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