public Writer getWriter(String packageName, String fileName, String encoding) throws IOException { return getWriter(getFileToWrite(packageName, fileName), encoding); }
public Writer getWriter(String packageName, String fileName) throws IOException { return getWriter(getFileToWrite(packageName, fileName)); } public Writer getWriter(String packageName, String fileName, String encoding) throws IOException {
public Writer getWriter(String packageName, String fileName) throws IOException { return getWriter(getFileToWrite(packageName, fileName)); } public Writer getWriter(String packageName, String fileName, String encoding) throws IOException {
public Writer getWriter(String packageName, String fileName, String encoding) throws IOException { return getWriter(getFileToWrite(packageName, fileName), encoding); }
public File parseOutputName(String packageName, String filename, String ext) throws ToolException { FileUtils.mkDir(new File(this.baseDir)); FileWriterUtil fw = new FileWriterUtil(this.baseDir, null); try { return fw.getFileToWrite(packageName, filename + ext); } catch (IOException ioe) { Message msg = new Message("FAIL_TO_WRITE_FILE", LOG, packageName + "." + filename + ext); throw new ToolException(msg, ioe); } }
public File parseOutputName(String packageName, String filename, String ext) throws ToolException { FileUtils.mkDir(new File(this.baseDir)); FileWriterUtil fw = new FileWriterUtil(this.baseDir, null); try { return fw.getFileToWrite(packageName, filename + ext); } catch (IOException ioe) { Message msg = new Message("FAIL_TO_WRITE_FILE", LOG, packageName + "." + filename + ext); throw new ToolException(msg, ioe); } }