public abstract class MixerProvider extends Object
| Constructor and Description |
|---|
MixerProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract Mixer |
getMixer(Mixer.Info info)
获取由信息对象表示的混合器的实例。
|
abstract Mixer.Info[] |
getMixerInfo()
获取表示此mixerprovider提供的搅拌机或混频器的信息对象的集合。
|
boolean |
isMixerSupported(Mixer.Info info)
指示是否混合器提供程序支持由指定的密密信息对象表示的密炼机。
|
public boolean isMixerSupported(Mixer.Info info)
搅拌机的信息对象,代表这MixerProvider支持混频器的全套可通过getMixerInfo方法得到的。
info,介绍了混频器的支持的是查询信息对象
true如果指定的混合支持,否则
false
getMixerInfo()
public abstract Mixer.Info[] getMixerInfo()
isMixerSupported方法返回的所有信息,此方法返回的对象true。对信息对象相应的搅拌的情况下getMixer方法返回。
getMixer(Mixer.Info),
isMixerSupported(Mixer.Info)
public abstract Mixer getMixer(Mixer.Info info)
表示由这个MixerProvider支持搅拌机搅拌机信息对象的全套可通过getMixerInfo方法得到的。使用isMixerSupported方法来测试是否MixerProvider支持一个特定的搅拌机。
info -描述所需的混合信息对象
IllegalArgumentException -如果指定的信息对象不匹配,这mixerprovider所支持的混合信息对象。
getMixerInfo(),
isMixerSupported(Mixer.Info)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.