jp.cssj.cti2.helpers
クラス URIHelper

java.lang.Object
  上位を拡張 jp.cssj.cti2.helpers.URIHelper

public final class URIHelper
extends Object

URI解析の補助クラスです。 JavaのURIクラスよりも柔軟に解析します。

バージョン:
$Id: URIHelper.java 526 2011-01-19 02:36:52Z miyabe $
作成者:
MIYABE Tatsuhiko

フィールドの概要
static URI CURRENT_URI
           
 
メソッドの概要
static URI create(String encoding, String href)
          URIを生成します。
static URI resolve(String encoding, String baseURI, String href)
           
static URI resolve(String encoding, URI baseURI, String href)
          相対URIを解決します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

CURRENT_URI

public static final URI CURRENT_URI
メソッドの詳細

create

public static URI create(String encoding,
                         String href)
                  throws URISyntaxException
URIを生成します。

パラメータ:
encoding - マルチバイト文字のエンコーディング。
href - URI文字列。
戻り値:
生成したURI。
例外:
URISyntaxException

resolve

public static URI resolve(String encoding,
                          URI baseURI,
                          String href)
                   throws URISyntaxException
相対URIを解決します。

パラメータ:
encoding - マルチバイト文字のエンコーディング。
baseURI - 基底URI。
href - 相対URI文字列。
戻り値:
生成したURI。
例外:
URISyntaxException

resolve

public static URI resolve(String encoding,
                          String baseURI,
                          String href)
                   throws URISyntaxException
例外:
URISyntaxException


(c)2008-2011 GNN & Co.,Ltd.