public abstract boolean isSameFile (FileObject a, FileObject b)

Compares two file objects and return true if they represent the same underlying object.

Parameters:
a    a file object
b    a file object

Returns:  true if the given file objects represent the same underlying object

Exceptions:
IllegalArgumentException    if either of the arguments were created with another file manager and this file manager does not support foreign file objects