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

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/sound/sampled/Line.Info.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut