jp.hishidama.ant.taskdefs
クラス HtLexerTask

java.lang.Object
  上位を拡張 org.apache.tools.ant.ProjectComponent
      上位を拡張 org.apache.tools.ant.Task
          上位を拡張 jp.hishidama.ant.taskdefs.HtLexerTask
すべての実装されたインタフェース:
Cloneable

public class HtLexerTask
extends org.apache.tools.ant.Task

HtHtmlLexerタスク.

HtLexerを使用した、HTMLファイル内の検索・置換を行うタスク。

導入されたバージョン:
2009.01.18
バージョン:
2010.02.14
作成者:
ひしだま

コンストラクタの概要
HtLexerTask()
           
 
メソッドの概要
 void addConfigured(HtLexerConverter converter)
          コンバーター設定.
 void addFileset(org.apache.tools.ant.types.FileSet set)
          fileset追加.
 void execute()
          タスク実行.
 void setBackupDir(File dir)
          バックアップディレクトリー設定.
 void setPrefix(String s)
          プロパティー名の接頭辞設定.
 void setTodir(File dir)
          置換先ディレクトリー設定.
 
クラス org.apache.tools.ant.Task から継承されたメソッド
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
クラス org.apache.tools.ant.ProjectComponent から継承されたメソッド
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HtLexerTask

public HtLexerTask()
メソッドの詳細

setTodir

public void setTodir(File dir)
置換先ディレクトリー設定.

置換を行う場合の置換先ディレクトリー。指定しない場合は読み込んだファイルに上書きされる。

パラメータ:
dir - ディレクトリー

setBackupDir

public void setBackupDir(File dir)
バックアップディレクトリー設定.

置換を行う場合の置換前のファイルをバックアップしておくディレクトリー。

パラメータ:
dir - ディレクトリー
導入されたバージョン:
2009.02.08

setPrefix

public void setPrefix(String s)
プロパティー名の接頭辞設定.

パラメータ:
s - プロパティー名の接頭辞
導入されたバージョン:
2010.01.31

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
fileset追加.

パラメータ:
set - ファイルセット要素

addConfigured

public void addConfigured(HtLexerConverter converter)
コンバーター設定.

パラメータ:
converter - コンバーター要素
例外:
org.apache.tools.ant.BuildException

execute

public void execute()
             throws org.apache.tools.ant.BuildException
タスク実行.

オーバーライド:
クラス org.apache.tools.ant.Task 内の execute
例外:
org.apache.tools.ant.BuildException