konark.parser
Class PreProcessor

java.lang.Object
  extended bykonark.parser.PreProcessor

public class PreProcessor
extends java.lang.Object


Constructor Summary
PreProcessor()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static java.lang.String preProcess(java.lang.String filename, java.lang.StringBuffer buffer)
          Pre processes the config file and expands all include statements Takes in a filename and buffer If buffer is null returns the name of a temporary expanded file else returns null with the StringBuffer object populated with the entire expanded file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreProcessor

public PreProcessor()
Method Detail

preProcess

public static java.lang.String preProcess(java.lang.String filename,
                                          java.lang.StringBuffer buffer)
                                   throws java.lang.Exception
Pre processes the config file and expands all include statements Takes in a filename and buffer If buffer is null returns the name of a temporary expanded file else returns null with the StringBuffer object populated with the entire expanded file

Parameters:
filename -
buffer -
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)