org.fuin.kickstart4j
Class DestFile

java.lang.Object
  extended by org.fuin.kickstart4j.AbstractFile
      extended by org.fuin.kickstart4j.DestFile

public final class DestFile
extends AbstractFile

A file inside a local base directory. This class is immutable.


Constructor Summary
DestFile(java.io.File baseDir, java.io.File file)
          Constructor with base directory and file.
DestFile(java.lang.String path, java.lang.String filename, java.lang.String md5Hash)
          Constructor with all arguments.
 
Method Summary
 java.lang.String toString()
          
 
Methods inherited from class org.fuin.kickstart4j.AbstractFile
getCanonicalPathAndFilename, getDestFile, getFilename, getMd5Hash, getPath, getRelativeSlashPathAndFilename, getSlashPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DestFile

public DestFile(java.io.File baseDir,
                java.io.File file)
Constructor with base directory and file.

Parameters:
baseDir - Base directory for calculating the relative path.
file - File inside the base directory.

DestFile

public DestFile(java.lang.String path,
                java.lang.String filename,
                java.lang.String md5Hash)
Constructor with all arguments.

Parameters:
path - Path relative to the base directory.
filename - Filename without path.
md5Hash - MD5 hash code of the file.
Method Detail

toString

public final java.lang.String toString()

Overrides:
toString in class java.lang.Object


Copyright © 2009 Future Invent Informationsmanagement GmbH. All Rights Reserved.