jp.hishidama.ant.tool
クラス LogFileUtils

java.lang.Object
  上位を拡張 org.apache.tools.ant.util.FileUtils
      上位を拡張 jp.hishidama.ant.tool.FileUtilsWrapper
          上位を拡張 jp.hishidama.ant.tool.LogFileUtils

public class LogFileUtils
extends FileUtilsWrapper

ログ出力ファイルユーティリティー.

ファイルを変更する代わりにファイル名だけを出力する。

導入されたバージョン:
2007.03.10
バージョン:
2007.08.11

フィールドの概要
 
クラス org.apache.tools.ant.util.FileUtils から継承されたフィールド
FAT_FILE_TIMESTAMP_GRANULARITY, NTFS_FILE_TIMESTAMP_GRANULARITY, UNIX_FILE_TIMESTAMP_GRANULARITY
 
コンストラクタの概要
LogFileUtils()
           
 
メソッドの概要
 void closeLog()
           
 void copyFile(File sourceFile, File destFile, org.apache.tools.ant.types.FilterSetCollection filters, Vector filterChains, boolean overwrite, boolean preserveLastModified, String inputEncoding, String outputEncoding, org.apache.tools.ant.Project project)
           
 void deleteFile(File f)
           
 void log(String key, File sf, File df)
           
 void openLog(File logfile, Map msg)
           
 void setBakFile(BakFile bf)
           
 void setExecSync(boolean b)
          実際の同期動作を行うかどうかを指定する.
 
クラス org.apache.tools.ant.util.FileUtils から継承されたメソッド
close, close, close, close, contentEquals, contentEquals, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, createNewFile, createNewFile, createTempFile, createTempFile, delete, dissect, fileNameEquals, fromURI, getDefaultEncoding, getFileTimestampGranularity, getFileURL, getFileUtils, getParentFile, getPath, getPath, getPathStack, getRelativePath, isAbsolutePath, isContextRelativePath, isLeadingPath, isSymbolicLink, isUpToDate, isUpToDate, isUpToDate, isUpToDate, newFileUtils, normalize, readFully, readFully, removeLeadingPath, rename, resolveFile, setFileLastModified, toURI, toVMSPath, translatePath
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

LogFileUtils

public LogFileUtils()
メソッドの詳細

setExecSync

public void setExecSync(boolean b)
実際の同期動作を行うかどうかを指定する.

実際のコピーや削除を行うかどうかを指定する。

パラメータ:
b - 実際の動作を行うとき、true

setBakFile

public void setBakFile(BakFile bf)

openLog

public void openLog(File logfile,
                    Map msg)
             throws IOException
例外:
IOException

log

public void log(String key,
                File sf,
                File df)
         throws IOException
例外:
IOException

closeLog

public void closeLog()

copyFile

public void copyFile(File sourceFile,
                     File destFile,
                     org.apache.tools.ant.types.FilterSetCollection filters,
                     Vector filterChains,
                     boolean overwrite,
                     boolean preserveLastModified,
                     String inputEncoding,
                     String outputEncoding,
                     org.apache.tools.ant.Project project)
              throws IOException
オーバーライド:
クラス org.apache.tools.ant.util.FileUtils 内の copyFile
例外:
IOException

deleteFile

public void deleteFile(File f)
オーバーライド:
クラス FileUtilsWrapper 内の deleteFile