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
ToolExceptionpublic FileWriterUtil(String targetDir, OutputStreamCreator osc) throws ToolException
ToolExceptionpublic File getFileToWrite(String packageName, String fileName) throws IOException
IOExceptionpublic Writer getWriter(File fn, String encoding) throws IOException
IOExceptionpublic Writer getWriter(String packageName, String fileName) throws IOException
IOExceptionpublic Writer getWriter(String packageName, String fileName, String encoding) throws IOException
IOExceptionpublic boolean isCollision(String packageName, String fileName) throws ToolException
ToolExceptionApache CXF