org.fuin.kickstart4j
Class DestFile
java.lang.Object
org.fuin.kickstart4j.AbstractFile
org.fuin.kickstart4j.DestFile
- All Implemented Interfaces:
- org.fuin.utils4j.ToDebugStringCapable
public final class DestFile
- extends AbstractFile
- implements org.fuin.utils4j.ToDebugStringCapable
A file inside a local base directory. This class is immutable.
DestFile
public DestFile(File baseDir,
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(String path,
String filename,
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.
toString
public final String toString()
-
- Overrides:
toString in class Object
toDebugString
public final String toDebugString()
-
- Specified by:
toDebugString in interface org.fuin.utils4j.ToDebugStringCapable
Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.