public boolean isSocket ( ) throws SftpStatusException , SshException { // This is long hand because gcj chokes when it is not? Investigate why if ( ( getAttributes ( ) . getPermissions ( ) . longValue ( ) & SftpFileAttributes . S_IFSOCK ) == SftpFileAttributes . S_IFSOCK ) { return true ; } return false ; }
Determine whether the file is pointing to a socket .