Class NopResults

java.lang.Object
jp.cssj.cti2.results.NopResults
All Implemented Interfaces:
Results

public class NopResults extends Object implements Results
A Results implementation that outputs nothing.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final NopResults
     
  • 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SHARED_INSTANCE

      public static final NopResults SHARED_INSTANCE
  • Method Details

    • hasNext

      public boolean hasNext()
      Description copied from interface: Results
      Returns true if the next result can be output.
      Specified by:
      hasNext in interface Results
      Returns:
      true if the next result can be output; false otherwise.
    • nextBuilder

      public net.zamasoft.zstream.io.FragmentedOutput nextBuilder(net.zamasoft.zstream.resolver.SourceMetadata metaSource)
      Description copied from interface: Results
      Returns a builder for constructing the next processing result.
      Specified by:
      nextBuilder in interface Results
      Returns:
      The data builder object.
    • end

      public void end()
      Description copied from interface: Results
      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.

      Specified by:
      end in interface Results