Class EncodingGenerator


  • public class EncodingGenerator
    extends java.lang.Object
    A simple sourcecode generator.
    Author:
    Thomas Morgner
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Integer ZERO  
    • Constructor Summary

      Constructors 
      Constructor Description
      EncodingGenerator​(java.io.File targetDirectory, java.io.File sourceDirectory)  
    • Field Detail

      • ZERO

        public static final java.lang.Integer ZERO
    • Constructor Detail

      • EncodingGenerator

        public EncodingGenerator​(java.io.File targetDirectory,
                                 java.io.File sourceDirectory)
                          throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • generatedFormatA

        public void generatedFormatA​(java.util.Properties specifications,
                                     java.io.BufferedReader input,
                                     java.io.OutputStream output)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • generateAll

        public void generateAll()
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • generate

        public void generate​(java.lang.String prefix)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • generatePropertyIndex

        public void generatePropertyIndex()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        Throws:
        java.io.IOException