getCanonicalFile() private méthode

private getCanonicalFile ( ) : global::java.io.File
Résultat global::java.io.File
Exemple #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;
 }