getCanonicalFile() private method

private getCanonicalFile ( ) : global::java.io.File
return global::java.io.File
Exemplo n.º 1
0
 public virtual bool isSubDirectory(File @base, File child)
 {
   @base = @base.getCanonicalFile();
   child = child.getCanonicalFile();
   for (File file = child; file != null; file = file.getParentFile())
   {
     if (@base.equals((object) file))
       return true;
   }
   return false;
 }