Class AbstractDataWriter

    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDestinationInfo()
      Returns a textual description about the destination.
      abstract long writeString​(java.lang.String item)
      writes the given string.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDestinationInfo

        public java.lang.String getDestinationInfo()
        Returns a textual description about the destination.
        Returns:
        destination info, may be null if unavailable
      • writeString

        public abstract long writeString​(java.lang.String item)
        writes the given string.
        Parameters:
        item - string to write
        Returns:
        size (bytes written), -1 if unsupported