| Constructor and Description |
|---|
FilerImpl(File classdir,
File srcdir,
Repackager repackager,
boolean verbose,
boolean incrSrcGen) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
createBinaryFile(String typename)
Creates a new schema binary file (.xsb) and returns a stream for writing to it.
|
Writer |
createSourceFile(String typename,
String sourceCodeEncoding)
Creates a new binding source file (.java) and returns a writer for it.
|
Repackager |
getRepackager() |
List<File> |
getSourceFiles() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateSourceFilepublic FilerImpl(File classdir, File srcdir, Repackager repackager, boolean verbose, boolean incrSrcGen)
public OutputStream createBinaryFile(String typename) throws IOException
createBinaryFile in interface Filertypename - fully qualified type nameIOException - when the file can't be createdpublic Writer createSourceFile(String typename, String sourceCodeEncoding) throws IOException
createSourceFile in interface Filertypename - fully qualified type namesourceCodeEncoding - an optional encoding used when compiling source code (can be null)IOException - when the file can't be createdpublic Repackager getRepackager()