接口 WritableDataSource<T>

所有已知实现类:
FileWritableDataSource

public interface WritableDataSource<T>
Interface of writable data source support.
从以下版本开始:
0.2.0
作者:
Eric Zhao
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Close the data source.
    void
    write(T value)
    Write the value to the data source.
  • 方法详细资料

    • write

      void write(T value) throws Exception
      Write the value to the data source.
      参数:
      value - value to write
      抛出:
      Exception - IO or other error occurs
    • close

      void close() throws Exception
      Close the data source.
      抛出:
      Exception - IO or other error occurs