Interface Results

All Known Implementing Classes:
DirectoryResults, NopResults, ResourceDirectoryResults, ServletResponseResults, ServletResponseResults, SingleResult

public interface Results
Processing results.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    end()
    Completes the sequence of data outputs.
    boolean
    Returns true if the next result can be output.
    net.zamasoft.zstream.io.FragmentedOutput
    nextBuilder(net.zamasoft.zstream.resolver.SourceMetadata metaSource)
    Returns a builder for constructing the next processing result.
  • Method Details

    • hasNext

      boolean hasNext()
      Returns true if the next result can be output.
      Returns:
      true if the next result can be output; false otherwise.
    • nextBuilder

      net.zamasoft.zstream.io.FragmentedOutput nextBuilder(net.zamasoft.zstream.resolver.SourceMetadata metaSource) throws IOException
      Returns a builder for constructing the next processing result.
      Parameters:
      SourceMetadata - Metadata for the output data.
      Returns:
      The data builder object.
      Throws:
      IOException
    • end

      void end() throws IOException
      Completes the sequence of data outputs.

      For a normal conversion, this is called once after all result builders are closed. For continuous conversion, it is not called for individual transcode calls, but is called once at the final join.

      Throws:
      IOException