/** * Learn whether this Resource represents a directory. * @return boolean flag indicating whether the entry is a directory. */ @Override public boolean isDirectory() { if (isReference()) { return getCheckedRef().isDirectory(); } checkEntry(); return super.isDirectory(); }