@Override public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openBinary(pkg,fileName); }
@Override public Writer openSource(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openSource(pkg,fileName); }
@Override public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { report(pkg,fileName); return super.openBinary(pkg,fileName); }
/** * Creates a configured CodeWriter that produces files into the specified directory. * * @return * @throws java.io.IOException */ public CodeWriter createCodeWriter() throws IOException { return createCodeWriter(new FileCodeWriter(targetDir, readOnly, encoding)); }
@Override public Writer openSource(JPackage pkg, String fileName) throws IOException { report(pkg,fileName); return super.openSource(pkg, fileName); }
protected File getFile(JPackage pkg, String fileName ) throws IOException { File f = super.getFile(pkg, fileName); options.addGeneratedFile(f); // we can't really tell the file type, for we don't know // what this file is used for. Fortunately, // FILE_TYPE doesn't seem to be used, so it doesn't really // matter what we set. return f; } }
/** * Creates a configured CodeWriter that produces files into the specified directory. */ public CodeWriter createCodeWriter( CodeWriter core ) { if(noFileHeader) return core; return new PrologCodeWriter( core,getPrologComment() ); }
@Override public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openBinary(pkg,fileName); }
@Override public Writer openSource(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openSource(pkg,fileName); }
/** * Creates a configured CodeWriter that produces files into the specified directory. * * @return * @throws java.io.IOException */ public CodeWriter createCodeWriter() throws IOException { return createCodeWriter(new FileCodeWriter(targetDir, readOnly, encoding)); }
@Override public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { report(pkg,fileName); return super.openBinary(pkg,fileName); }
@Override public Writer openSource(JPackage pkg, String fileName) throws IOException { report(pkg,fileName); return super.openSource(pkg, fileName); }
protected File getFile(JPackage pkg, String fileName ) throws IOException { File f = super.getFile(pkg, fileName); options.addGeneratedFile(f); // we can't really tell the file type, for we don't know // what this file is used for. Fortunately, // FILE_TYPE doesn't seem to be used, so it doesn't really // matter what we set. return f; } }
/** * Creates a configured CodeWriter that produces files into the specified directory. * * @param core * @return */ public CodeWriter createCodeWriter(CodeWriter core) { if (noFileHeader) return core; return new PrologCodeWriter(core, getPrologComment()); }
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openBinary(pkg,fileName); }
public Writer openSource(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openSource(pkg,fileName); }
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openBinary(pkg,fileName); }
public Writer openSource(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openSource(pkg,fileName); }
public OutputStream openBinary(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openBinary(pkg,fileName); }
public Writer openSource(JPackage pkg, String fileName) throws IOException { report(pkg, fileName); return super.openSource(pkg,fileName); }