com.ozacc.blog.ping
クラス UpdatePing

java.lang.Object
  拡張com.ozacc.blog.ping.UpdatePing
すべての実装インタフェース:
Serializable

public class UpdatePing
extends Object
implements Serializable

更新Ping。

Blog名とBlog URL以外をパラメータとして追加したい場合は、 まずコンストラクタを呼び出した後に addParameter() メソッドを使用します。

UpdatePing ping = new UpdatePing(myBlogName, myBlogUrl);
ping.addParameter(pingKey);

updatePingClient.ping(pingUrl, ping);

バージョン:
$Id: UpdatePing.java,v 1.2 2004/08/25 06:53:26 otsuka Exp $
作成者:
Tomohiro Otsuka
関連項目:
直列化された形式

コンストラクタの概要
UpdatePing()
          コンストラクタ。
UpdatePing(String name, String url)
          コンストラクタ。
 
メソッドの概要
 void addParameter(String value)
          パラメータを追加します。
 void clearParameters()
          全パラメータをクリアします。
 Vector getParameters()
          更新PingパラメータのVectorオブジェクトを返します。
 String toString()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

UpdatePing

public UpdatePing()
コンストラクタ。


UpdatePing

public UpdatePing(String name,
                  String url)
コンストラクタ。

パラメータ:
name - Blog名
url - Blog URL
メソッドの詳細

getParameters

public Vector getParameters()
更新PingパラメータのVectorオブジェクトを返します。

戻り値:
更新PingパラメータのVectorオブジェクト

addParameter

public void addParameter(String value)
パラメータを追加します。

パラメータ:
value - 追加するパラメータ

clearParameters

public void clearParameters()
全パラメータをクリアします。


toString

public String toString()
関連項目:
Object.toString()


Copyright © 2004 OZACC. All Rights Reserved.