javax.sound.sampled

Class Line.Info

    • Constructor Detail

      • Line.Info

        public Line.Info(Class<?> lineClass)
        Constructs an info object that describes a line of the specified class. This constructor is typically used by an application to describe a desired line.
        Parameters:
        lineClass - the class of the line that the new Line.Info object describes
    • Method Detail

      • getLineClass

        public Class<?> getLineClass()
        Obtains the class of the line that this Line.Info object describes.
        Returns:
        the described line's class
      • matches

        public boolean matches(Line.Info info)
        Indicates whether the specified info object matches this one. To match, the specified object must be identical to or a special case of this one. The specified info object must be either an instance of the same class as this one, or an instance of a sub-type of this one. In addition, the attributes of the specified object must be compatible with the capabilities of this one. Specifically, the routing configuration for the specified info object must be compatible with that of this one. Subclasses may add other criteria to determine whether the two objects match.
        Parameters:
        info - the info object which is being compared to this one
        Returns:
        true if the specified object matches this one, false otherwise
      • toString

        public String toString()
        Obtains a textual description of the line info.
        Overrides:
        toString in class Object
        Returns:
        a string description

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 31/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/sound/sampled/Line.Info.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, Line.Info

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut