Class ProgressAdapter

java.lang.Object
jp.cssj.cti2.progress.ProgressAdapter
All Implemented Interfaces:
ProgressListener

public class ProgressAdapter extends Object implements ProgressListener
ProgressListenterの実装を容易にするためのアダプタです。
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    progress(long serverRead)
    処理されたメインドキュメントのバイト数が渡されます。
    void
    sourceLength(long sourceLength)
    サーバ側で見積もられたメインドキュメントの大きさが渡されます。

    Methods inherited from class java.lang.Object

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

    • ProgressAdapter

      public ProgressAdapter()
  • Method Details

    • sourceLength

      public void sourceLength(long sourceLength)
      Description copied from interface: ProgressListener

      サーバ側で見積もられたメインドキュメントの大きさが渡されます。

      このメソッドは呼ばれないことがあり、不正確な値が渡される可能性もあります。

      Specified by:
      sourceLength in interface ProgressListener
      Parameters:
      sourceLength - メインドキュメントのバイト数。
    • progress

      public void progress(long serverRead)
      Description copied from interface: ProgressListener
      処理されたメインドキュメントのバイト数が渡されます。

      このメソッドは呼ばれないことがあり、不正確な値が渡される可能性もあります。

      Specified by:
      progress in interface ProgressListener
      Parameters:
      serverRead - 読み込み済みバイト数。