432433434435436437438439440441442
if (fs == null) return false; if ((fs.capabilities() & (FSCapability.READ | FSCapability.STAT)) == 0) return true; try{ return fs.canRead(filename); } catch (IOException ioe) { return false; } }