|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.util.CompiletimeVars
public class CompiletimeVars
Create compile-time contant source module
Nested Class Summary | |
---|---|
static class |
CompiletimeVars.NoOverwriteException
Exception for file exists, but overwrite not specified |
Constructor Summary | |
---|---|
CompiletimeVars()
|
Method Summary | |
---|---|
static java.lang.String |
getConditionalSource(java.lang.String outputText)
Apply conditionals to specified source |
static java.io.File |
getOutputFile(java.io.File directory,
java.lang.String outputName,
boolean overwrite)
Gets the output file |
static void |
main(java.lang.String[] argv)
Main entry point for testing/debugging |
static void |
writeOutputSource(java.lang.String inputSource,
java.io.File outputFile)
Apply replacements/conditionals and write output |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompiletimeVars()
Method Detail |
---|
public static java.lang.String getConditionalSource(java.lang.String outputText)
public static java.io.File getOutputFile(java.io.File directory, java.lang.String outputName, boolean overwrite) throws CompiletimeVars.NoOverwriteException, java.io.IOException
CompiletimeVars.NoOverwriteException
java.io.IOException
public static void writeOutputSource(java.lang.String inputSource, java.io.File outputFile) throws java.io.IOException
java.io.IOException
public static void main(java.lang.String[] argv)
argv
- Comand-line arguments
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |