org.apache.commons.net.ftp.parser
Class MLSDComparison

java.lang.Object
  extended by org.apache.commons.net.ftp.parser.MLSDComparison

public class MLSDComparison
extends Object

Attempt comparison of LIST and MLSD listings TODO - needs some work.


Constructor Summary
MLSDComparison()
           
 
Method Summary
 boolean areEquivalent(FTPFile a, FTPFile b)
          Compare two instances to see if they are the same, ignoring any uninitialised fields.
 void testFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MLSDComparison

public MLSDComparison()
Method Detail

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.