|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectca.uhn.hl7v2.conf.classes.generator.genclasses.FileGenerator
public class FileGenerator
This class writes a GeneratedClass object to a file
| Constructor Summary | |
|---|---|
FileGenerator(java.lang.String basePath)
Initialize member variable setting the base file path |
|
| Method Summary | |
|---|---|
java.lang.String |
getBasePath()
This method returns the Base Path |
void |
storeFile(GeneratedClass gc,
java.lang.String packageName,
java.lang.String fileName)
this method writes the GeneratedClass object to disk |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileGenerator(java.lang.String basePath)
basePath - representing base path location| Method Detail |
|---|
public java.lang.String getBasePath()
public void storeFile(GeneratedClass gc,
java.lang.String packageName,
java.lang.String fileName)
throws java.io.IOException
gc - the object to be written to diskpackageName - representing the packageNamefileName - representing the file name
java.io.IOException - if unable to create file
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||