protected boolean isFilesystemRoot ( String filename ) throws IOException { String [ ] roots = getFilesystemRoots ( ) ; for ( int c = 0 , len = roots . length ; c < len ; c ++ ) { if ( roots [ c ] . equals ( filename ) ) return true ; } return false ; }
Determines if a path is a possible file system root