Javadocのサンプル
WEB+DB PRESS Vol.51

webdb51
クラス Base

java.lang.Object
  上位を拡張 webdb51.Base
直系の既知のサブクラス:
Inherit

public class Base
extends Object

ドキュメントタグ継承の説明用のスーパークラス


コンストラクタの概要
Base()
           
 
メソッドの概要
 String getRemoteText(int length)
          リモートサーバからテキストを指定文字数分だけ取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Base

public Base()
メソッドの詳細

getRemoteText

public String getRemoteText(int length)
                     throws IOException
リモートサーバからテキストを指定文字数分だけ取得します。

パラメータ:
length - 取得するテキストの文字数。負の値は指定できません。
戻り値:
値が設定されていない場合、このメソッドはnullを返します。
例外:
IOException - 通信中にエラーが発生した場合
IllegalArgumentException - 引数に負の値が指定された場合

WEB+DB PRESS Vol.51

Copyright 2009 技術評論社