jp.cssj.cti2.helpers
クラス URIHelper

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

推奨されていません。 jp.cssj.resolver.helpers.URIHelperを使ってください。

public final class URIHelper
extends Object

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

バージョン:
$Id: URIHelper.java 817 2012-09-08 14:28:59Z 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


©2012-2013 Zamasoft.