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 440 2010-03-15 09:06:21Z 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-2009 GNN & Co.,Ltd.