Interface Sink

  • All Known Subinterfaces:
    ByteSink, CharSink

    public interface Sink
    A Sink writes a data stream in a particular FileFormat.
    Since:
    3.5.0
    Author:
    Jeen Broekstra
    • Method Detail

      • acceptsFileFormat

        default boolean acceptsFileFormat​(FileFormat format)
        Check if this Sink accepts the supplied FileFormat.
        Parameters:
        format - the FileFormat to check.
        Returns:
        true if the sink accepts the supplied format, false otherwise.