Interface SourceZip.Callback

Enclosing class:
SourceZip
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SourceZip.Callback
An interface to define a callback for each file that's parsed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process​(Path relativeZipEntryPath, ParseResult<CompilationUnit> result)
    Process the given parse result.
  • Method Details

    • process

      void process(Path relativeZipEntryPath, ParseResult<CompilationUnit> result)
      Process the given parse result.
      Parameters:
      relativeZipEntryPath - The relative path of the entry in the ZIP file that was parsed.
      result - The parse result of file located at absolutePath.