Interface Executor.StreamHandler

All Known Implementing Classes:
AccuRevAnnotationParser, AccuRevHistoryParser, BazaarAnnotationParser, BazaarTagParser, BitKeeperAnnotationParser, BitKeeperTagParser, ClearCaseAnnotationParser, CVSAnnotationParser, HeadHandler, MercurialTagParser, MonotoneAnnotationParser, PerforceAnnotationParser, RCSAnnotationParser, SCCSRepositoryAnnotationParser, SCCSRepositoryAuthorParser, SSCMHistoryParser, SubversionAnnotationParser
Enclosing class:
Executor

public static interface Executor.StreamHandler
You should use the StreamHandler interface if you would like to process the output from a process while it is running.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Process the data in the stream.
  • Method Details

    • processStream

      void processStream(InputStream in) throws IOException
      Process the data in the stream. The processStream function is called _once_ during the lifetime of the process, and you should process all of the input you want before returning from the function.
      Parameters:
      in - The InputStream containing the data
      Throws:
      IOException - if any read error