Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
java.nio.file.attribute

Class AclEntry


  • public final class AclEntry
    extends Object
    An entry in an access control list (ACL).

    The ACL entry represented by this class is based on the ACL model specified in RFC 3530: Network File System (NFS) version 4 Protocol. Each entry has four components as follows:

    1. The type component determines if the entry grants or denies access.

    2. The principal component, sometimes called the "who" component, is a UserPrincipal corresponding to the identity that the entry grants or denies access

    3. The permissions component is a set of permissions

    4. The flags component is a set of flags to indicate how entries are inherited and propagated

    ACL entries are created using an associated AclEntry.Builder object by invoking its build method.

    ACL entries are immutable and are safe for use by multiple concurrent threads.

    Since:
    1.7
    • Method Detail

      • newBuilder

        public static AclEntry.Builder newBuilder()
        Constructs a new builder. The initial value of the type and who components is null. The initial value of the permissions and flags components is the empty set.
        Returns:
        a new builder
      • newBuilder

        public static AclEntry.Builder newBuilder(AclEntry entry)
        Constructs a new builder with the components of an existing ACL entry.
        Parameters:
        entry - an ACL entry
        Returns:
        a new builder
      • type

        public AclEntryType type()
        Returns the ACL entry type.
      • principal

        public UserPrincipal principal()
        Returns the principal component.
      • permissions

        public Set<AclEntryPermission> permissions()
        Returns a copy of the permissions component.

        The returned set is a modifiable copy of the permissions.

      • flags

        public Set<AclEntryFlag> flags()
        Returns a copy of the flags component.

        The returned set is a modifiable copy of the flags.

      • equals

        public boolean equals(Object ob)
        Compares the specified object with this ACL entry for equality.

        If the given object is not an AclEntry then this method immediately returns false.

        For two ACL entries to be considered equals requires that they are both the same type, their who components are equal, their permissions components are equal, and their flags components are equal.

        This method satisfies the general contract of the Object.equals method.

        Overrides:
        equals in class Object
        Parameters:
        ob - the object to which this object is to be compared
        Returns:
        true if, and only if, the given object is an AclEntry that is identical to this AclEntry
        See Also:
        Object.hashCode(), HashMap
      • toString

        public String toString()
        Returns the string representation of this ACL entry.
        Overrides:
        toString in class Object
        Returns:
        the string representation of this entry

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-java/nio/file/attribute/AclEntry.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut