jp.hishidama.ant.taskdefs.condition
クラス TextFilesMatch

java.lang.Object
  上位を拡張 org.apache.tools.ant.ProjectComponent
      上位を拡張 org.apache.tools.ant.types.DataType
          上位を拡張 jp.hishidama.ant.taskdefs.condition.TextFilesMatch
すべての実装されたインタフェース:
Cloneable
直系の既知のサブクラス:
RegexpFilesMatch

public class TextFilesMatch
extends org.apache.tools.ant.types.DataType

テキストファイル内容比較クラス.

FilesMatchに似せて作ってある。当初はFilesMatchを継承していたが、DataTypeを継承したくなったので やめた。

作成者:
ひしだま

コンストラクタの概要
TextFilesMatch()
           
 
メソッドの概要
 void addFileset(org.apache.tools.ant.types.FileSet set)
           
 boolean eval()
           
 void initCompareTarget()
           
 void setEncoding1(String enc1)
           
 void setEncoding2(String enc2)
           
 void setFile1(File file1)
           
 void setFile2(File file2)
           
 
クラス org.apache.tools.ant.types.DataType から継承されたメソッド
clone, getRefid, invokeCircularReferenceCheck, isReference, setRefid, toString
 
クラス org.apache.tools.ant.ProjectComponent から継承されたメソッド
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

TextFilesMatch

public TextFilesMatch()
メソッドの詳細

setFile1

public void setFile1(File file1)

setFile2

public void setFile2(File file2)

setEncoding1

public void setEncoding1(String enc1)

setEncoding2

public void setEncoding2(String enc2)

addFileset

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

initCompareTarget

public void initCompareTarget()

eval

public boolean eval()
             throws org.apache.tools.ant.BuildException
例外:
org.apache.tools.ant.BuildException