Class UnusedOutputFile


  • public class UnusedOutputFile
    extends java.lang.Object
    This class handles the creation and maintenance of the boiler-plate (invariant) classes, (TokenMgrError.java, ParseException.java,Token.java, TokenManager.java, CharStream.java, JavaCharStream.java, SimpleCharStream.java).
    It is responsible for:
    • Writing the JavaCC header lines to the file.
    • Writing the checksum line.
    • Using the checksum to determine if an existing file has been changed by the user (and so should be left alone).
    • Checking any existing file's version (if the file can not be overwritten).
    • Checking any existing file's creation options (if the file can not be overwritten).

    Not used by JTB.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnusedOutputFile

        public UnusedOutputFile()