org.seasar.mayaa.cycle.scope
インタフェース ApplicationScope

すべてのスーパーインタフェース:
AttributeScope, ContextAware, ParameterAware, PositionAware, java.io.Serializable

public interface ApplicationScope
extends AttributeScope, ContextAware

WEBアプリケーション全体で共有されるスコープ。


メソッドの概要
 java.lang.String getMimeType(java.lang.String systemID)
          MIME型をSystemIDから類推して返す。
 java.lang.String getRealPath(java.lang.String contextRelatedPath)
          リクエストURIのコンテキスト相対パスを、OS上のファイルパスに変換する。
 
インタフェース org.seasar.mayaa.cycle.scope.AttributeScope から継承したメソッド
getAttribute, getScopeName, hasAttribute, isAttributeWritable, iterateAttributeNames, newAttribute, removeAttribute, setAttribute
 
インタフェース org.seasar.mayaa.ParameterAware から継承したメソッド
getParameter, iterateParameterNames, setParameter
 
インタフェース org.seasar.mayaa.PositionAware から継承したメソッド
getLineNumber, getSystemID, isOnTemplate, setLineNumber, setOnTemplate, setSystemID
 
インタフェース org.seasar.mayaa.ContextAware から継承したメソッド
getUnderlyingContext, setUnderlyingContext
 

メソッドの詳細

getMimeType

public java.lang.String getMimeType(java.lang.String systemID)
MIME型をSystemIDから類推して返す。

パラメータ:
systemID - テストするSystemID。
戻り値:
MIME型。

getRealPath

public java.lang.String getRealPath(java.lang.String contextRelatedPath)
リクエストURIのコンテキスト相対パスを、OS上のファイルパスに変換する。

パラメータ:
contextRelatedPath - コンテキスト相対パス。
戻り値:
OS上のファイルパス。