/** * Checks if this file name is a name for a regular file by using its type. * * @return true if this file is a regular file. * @throws FileSystemException may be thrown by subclasses. * @see #getType() * @see FileType#FILE */ @Override public boolean isFile() throws FileSystemException { // Use equals instead of == to avoid any class loader worries. return FileType.FILE.equals(this.getType()); }
/** * Checks if this file name is a name for a regular file by using its type. * * @return true if this file is a regular file. * @throws FileSystemException may be thrown by subclasses. * @see #getType() * @see FileType#FILE */ @Override public boolean isFile() throws FileSystemException { // Use equals instead of == to avoid any class loader worries. return FileType.FILE.equals(this.getType()); }
/** * Checks if this file name is a name for a regular file by using its type. * * @return true if this file is a regular file. * @throws FileSystemException may be thrown by subclasses. * @see #getType() * @see FileType#FILE */ @Override public boolean isFile() throws FileSystemException { // Use equals instead of == to avoid any class loader worries. return FileType.FILE.equals(this.getType()); }
protected String getUriTrailer() { return getType().hasChildren() ? "/" : ""; }
protected String getUriTrailer() { return getType().hasChildren() ? "/" : ""; }
protected String getUriTrailer() { return getType().hasChildren() ? "/" : ""; }
protected String getUriTrailer() { return getType().hasChildren() ? "/" : ""; }
/** * Checks if this file name is a name for a regular file by using its type. * * @return true if this file is a regular file. * @throws FileSystemException may be thrown by subclasses. * @see #getType() * @see FileType#FILE */ @Override public boolean isFile() throws FileSystemException { // Use equals instead of == to avoid any class loader worries. return FileType.FILE.equals(this.getType()); }