org.apache.commons.net.ftp.parser
Class MLSDComparison
java.lang.Object
org.apache.commons.net.ftp.parser.MLSDComparison
public class MLSDComparison
- extends Object
Attempt comparison of LIST and MLSD listings
TODO - needs some work.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MLSDComparison
public MLSDComparison()
testFile
public void testFile()
throws Exception
- Throws:
Exception
areEquivalent
public boolean areEquivalent(FTPFile a,
FTPFile b)
- Compare two instances to see if they are the same,
ignoring any uninitialised fields.
- Parameters:
b
-
- Returns:
- true if the initialised fields are the same
- Since:
- 3.0
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.