Class JCPreprocessor


  • public final class JCPreprocessor
    extends java.lang.Object
    The main class implements the Java Comment Preprocessor, it has the main method and can be started from a command string
    • Method Detail

      • getCommandLineHandlers

        public static java.lang.Iterable<CommandLineHandler> getCommandLineHandlers()
      • createDestinationDirectory

        private void createDestinationDirectory()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • findAllFilesToBePreprocessed

        private java.util.Collection<FileInfoContainer> findAllFilesToBePreprocessed​(java.io.File[] srcDirs)
                                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • findAllFiles

        private java.util.Set<java.io.File> findAllFiles​(java.io.File dir)
      • main

        public static void main​(java.lang.String... args)
      • processCommandString

        private static PreprocessorContext processCommandString​(PreprocessorContext context,
                                                                java.lang.String[] originalStrings,
                                                                java.lang.String[] normalizedStrings)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • processCfgFiles

        void processCfgFiles()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • printHeader

        private static void printHeader()
      • help

        private static void help()