public class JspIncludeReader extends Object
4.0.0.2 (2007/12/10) 新規追加 |
コンストラクタと説明 |
---|
JspIncludeReader() |
修飾子とタイプ | メソッドと説明 |
---|---|
static void |
cacheClear()
インクルードしたファイルのキャッシュをクリアします。
|
String |
getIncludeFiles()
インクルードしたファイル名(相対パス)のリスト文字列を返します。
|
String |
getString(File file,
String encode)
JSP のインクルードを考慮した、JSPファイルを、String で返します。
|
static void |
main(String[] args)
テスト用の main メソッド
Usage: org.opengion.fukurou.xml.JspIncludeReader inFile [outFile]
|
void |
setRealPath(String path)
jspInclude=true 時に、/jsp/common/** 等の include ファイルが存在しない場合の共有取得場所を指定します。
|
public JspIncludeReader()
public String getString(File file, String encode)
file
- JSPファイルencode
- ファイルのエンコード5.2.1.0 (2010/10/01) directive.include で、XMLタグとroot タグは取り込まない。 |
5.2.1.0 (2010/10/01) エスケープ処理の引数を廃止します。 |
5.6.5.2 (2013/06/21) 小細工内容の変更。replaceAll にするのと、スペースまたはタブを使用します。 |
5.6.7.1 (2013/08/09) コメントの処理のバグ修正。includeファイル名保存。 |
5.6.7.1 (2013/08/09) includeファイルが存在しない場合は、gf共有から取得する。 |
5.6.7.2 (2013/08/16) includeファイルを取り込む場合、代わりのspanタグを出力しておきます。 |
5.6.7.4 (2013/08/30) includeファイルの先頭のpageEncoding指定のチェック用 span タグの出力 |
5.7.6.2 (2014/05/16) realPath で、/jsp/common/以下に、実ファイルが存在しない場合の代替取得先を指定します。 |
public void setRealPath(String path)
path
- /jsp/common/** 等の include ファイルの共有取得場所public String getIncludeFiles()
5.6.7.1 (2013/08/09) 新規追加 |
public static void cacheClear()
5.6.7.1 (2013/08/09) 新規追加 |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.