org.apache.cxf.tools.util
Class FileWriterUtil
java.lang.Object
org.apache.cxf.tools.util.FileWriterUtil
public class FileWriterUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileWriterUtil
public FileWriterUtil()
throws ToolException
- Throws:
ToolException
FileWriterUtil
public FileWriterUtil(String targetDir,
OutputStreamCreator osc)
throws ToolException
- Throws:
ToolException
getFileToWrite
public File getFileToWrite(String packageName,
String fileName)
throws IOException
- Throws:
IOException
getWriter
public Writer getWriter(File fn,
String encoding)
throws IOException
- Throws:
IOException
getWriter
public Writer getWriter(String packageName,
String fileName)
throws IOException
- Throws:
IOException
getWriter
public Writer getWriter(String packageName,
String fileName,
String encoding)
throws IOException
- Throws:
IOException
isCollision
public boolean isCollision(String packageName,
String fileName)
throws ToolException
- Throws:
ToolException
buildDir
public File buildDir(String packageName)
Apache CXF