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.io

Class ObjectStreamClass

    • Field Detail

      • NO_FIELDS

        public static final ObjectStreamField[] NO_FIELDS
        serialPersistentFields value indicating no serializable fields
    • Method Detail

      • lookup

        public static ObjectStreamClass lookup(Class<?> cl)
        Find the descriptor for a class that can be serialized. Creates an ObjectStreamClass instance if one does not exist yet for class. Null is returned if the specified class does not implement java.io.Serializable or java.io.Externalizable.
        Parameters:
        cl - class for which to get the descriptor
        Returns:
        the class descriptor for the specified class
      • lookupAny

        public static ObjectStreamClass lookupAny(Class<?> cl)
        Returns the descriptor for any class, regardless of whether it implements Serializable.
        Parameters:
        cl - class for which to get the descriptor
        Returns:
        the class descriptor for the specified class
        Since:
        1.6
      • getName

        public String getName()
        Returns the name of the class described by this descriptor. This method returns the name of the class in the format that is used by the Class.getName() method.
        Returns:
        a string representing the name of the class
      • getSerialVersionUID

        public long getSerialVersionUID()
        Return the serialVersionUID for this class. The serialVersionUID defines a set of classes all with the same name that have evolved from a common root class and agree to be serialized and deserialized using a common format. NonSerializable classes have a serialVersionUID of 0L.
        Returns:
        the SUID of the class described by this descriptor
      • forClass

        public Class<?> forClass()
        Return the class in the local VM that this version is mapped to. Null is returned if there is no corresponding local class.
        Returns:
        the Class instance that this descriptor represents
      • getFields

        public ObjectStreamField[] getFields()
        Return an array of the fields of this serializable class.
        Returns:
        an array containing an element for each persistent field of this class. Returns an array of length zero if there are no fields.
        Since:
        1.2
      • getField

        public ObjectStreamField getField(String name)
        Get the field of this class by name.
        Parameters:
        name - the name of the data field to look for
        Returns:
        The ObjectStreamField object of the named field or null if there is no such named field.
      • toString

        public String toString()
        Return a string describing this ObjectStreamClass.
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object.

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/io/objectstreamclass.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