Class Main


  • public class Main
    extends java.lang.Object
    Responsible for launching the indexing tool on a java command line.
    • Field Detail

      • modify

        private boolean modify
      • verbose

        private boolean verbose
      • dump

        private boolean dump
      • jarFile

        private boolean jarFile
      • outputFile

        private java.io.File outputFile
      • source

        private java.io.File source
      • index

        private Index index
    • Constructor Detail

      • Main

        private Main()
    • Method Detail

      • main

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

        private void execute​(java.lang.String[] args)
      • getIndex

        private Index getIndex​(long start)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • dumpIndex

        private void dumpIndex​(java.io.File source)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • indexDirectory

        private Result indexDirectory​(java.io.File source,
                                      Indexer indexer)
                               throws java.io.FileNotFoundException,
                                      java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
      • printIndexEntryInfo

        private void printIndexEntryInfo​(ClassSummary info)
      • scanFile

        private void scanFile​(java.io.File source,
                              Indexer indexer)
                       throws java.io.FileNotFoundException,
                              java.io.IOException
        Throws:
        java.io.FileNotFoundException
        java.io.IOException
      • safeClose

        private void safeClose​(java.io.FileInputStream input)
      • printUsage

        private static void printUsage()
      • parseOptions

        private void parseOptions​(java.lang.String[] args)