Interface PlexusIoResourceAttributes

    • Method Detail

      • isOwnerReadable

        boolean isOwnerReadable()
      • isOwnerWritable

        boolean isOwnerWritable()
      • isOwnerExecutable

        boolean isOwnerExecutable()
      • isGroupReadable

        boolean isGroupReadable()
      • isGroupWritable

        boolean isGroupWritable()
      • isGroupExecutable

        boolean isGroupExecutable()
      • isWorldReadable

        boolean isWorldReadable()
      • isWorldWritable

        boolean isWorldWritable()
      • isWorldExecutable

        boolean isWorldExecutable()
      • getUserId

        Integer getUserId()
        Gets the unix user id.
        Returns:
        The unix user id, may be null ("not set"), even on unix
      • getGroupId

        @Nullable
        Integer getGroupId()
        Gets the unix group id.
        Returns:
        The unix group id, may be null ("not set"), even on unix
      • getUserName

        @Nullable
        String getUserName()
        Returns the user name of the user owning the file. Probably not null :)
        Returns:
        The user name
      • getGroupName

        @Nullable
        String getGroupName()
        The group name. May be null if groups are unsupported
        Returns:
        the group names
      • getOctalMode

        int getOctalMode()
        Octal mode attributes. UNKNOWN_OCTAL_MODE if unsupported on current file/file system
      • isSymbolicLink

        boolean isSymbolicLink()
        Indicates if this is a symbolic link element. For file-based resource attributes this value may be always "false" for versions prior to java7.
        Returns:
        True if the file is a symlink or false if not.