/** * Tells if the resource is a directory. * @return boolean whether the resource is a directory. */ public synchronized boolean isDirectory() { return isReference() ? getCheckedRef().isDirectory() : getName().endsWith("/"); }
/** * Tells if the resource is a directory. * @return boolean whether the resource is a directory. */ public synchronized boolean isDirectory() { return isReference() ? getCheckedRef().isDirectory() : getName().endsWith("/"); }