Interface StreamDataWriter

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void flush()
      Flushes this stream by writing any buffered output to the underlying stream.
      void write​(java.lang.String str)
      write the whole data
      void write​(java.lang.String str, int off, int len)
      Write part of the data
    • Method Detail

      • flush

        default void flush()
        Flushes this stream by writing any buffered output to the underlying stream.
      • write

        void write​(java.lang.String str)
        write the whole data
        Parameters:
        str - - data to write
      • write

        void write​(java.lang.String str,
                   int off,
                   int len)
        Write part of the data
        Parameters:
        str - - the data to write (the source)
        off - - offset to start from
        len - - number of chars to write