public final class JPRAJavaWriter extends Object implements JPRAJavaWriterType
JPRAJavaWriterType interface.| Modifier and Type | Method and Description |
|---|---|
static Path |
getPathForPackage(Path base,
PackageNameQualified p_name)
A function to return a path for the package
p_name, based on base. |
static JPRAJavaWriterType |
newWriter(JPRAJavaGeneratorType in_generator) |
void |
writeType(Path path,
TypeUserDefinedType t)
Write the given type to the base directory
path. |
public static JPRAJavaWriterType newWriter(JPRAJavaGeneratorType in_generator)
in_generator - A Java code generatorpublic static Path getPathForPackage(Path base, PackageNameQualified p_name)
p_name, based on base.base - The base pathp_name - The package namepublic void writeType(Path path, TypeUserDefinedType t) throws IOException
JPRAJavaWriterTypepath.writeType in interface JPRAJavaWriterTypepath - The base directoryt - The typeIOException - On I/O errorsCopyright © 2016 <code@io7m.com> http://io7m.com