uk.org.retep.util.io
Class SimpleComplexFile
java.lang.Object
uk.org.retep.util.io.SimpleComplexFile
- All Implemented Interfaces:
- java.lang.Comparable<ComplexFile>, ComplexFile
public class SimpleComplexFile
- extends java.lang.Object
- implements ComplexFile, java.lang.Comparable<ComplexFile>
A simple implementation of ComplexFile
- Author:
- peter
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
sourceFile
protected java.io.File sourceFile
destinationFile
protected java.io.File destinationFile
SimpleComplexFile
public SimpleComplexFile(java.io.File file)
SimpleComplexFile
public SimpleComplexFile(java.io.File sourceFile,
java.io.File destinationFile)
getSourceFile
public java.io.File getSourceFile()
- Specified by:
getSourceFile in interface ComplexFile
getDestinationFile
public java.io.File getDestinationFile()
- Specified by:
getDestinationFile in interface ComplexFile
compareTo
public int compareTo(ComplexFile file)
- Specified by:
compareTo in interface java.lang.Comparable<ComplexFile>
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 1998-2010 Retep Development Group. All Rights Reserved.