core/src/main/java/org/apache/commons/vfs2/provider/tar/TarEntry.java
/**
     * Return whether or not this entry represents a directory.
     *
     * @return True if this entry is a directory.
     */
Return whether or not this entry represents a directory.
@return True if this entry is a directory.
Return whether or not this entry represents a directory . @return True if this entry is a directory .
public boolean isDirectory()
    {
        if (file != null)
        {
            return file.isDirectory();
        }
        if (linkFlag == TarConstants.LF_DIR)
        {
            return true;
        }
        if (getName().endsWith("/"))
        {
            return true;
        }
        return false;
    }
public boolean isDirectory ( ) { if ( file != null ) { return file . isDirectory ( ) ; } if ( linkFlag == TarConstants . LF_DIR ) { return true ; } if ( getName ( ) . endsWith ( "/" ) ) { return true ; } return false ; }
Return whether or not this entry represents a directory.
Return whether or not this entry represents a directory .