This class is public because it is called from javax.sound.midi.MidiSystem and javax.sound.sampled.AudioSystem. The alternative would be to make JSSecurityManager public, which is considered worse.
| Modifier and Type | Field and Description |
|---|---|
| private static Properties | properties
Properties loaded from the properties file for default provider properties. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized String | Returns: The value of the instance name part of the property (the part after the hash sign), if available. If the property is not set or the value has no instance name part, null is returned.The type of the default provider property. This
should be one of Receiver.class, Transmitter.class, Sequencer.class,
Synthesizer.class, SourceDataLine.class, TargetDataLine.class,
Clip.class or Port.class. typeClass)Obtain the instance name part of a default provider property. |
| private static synchronized String | Returns: The complete value of the property, if available. If the property is not set, null is returned.The type of the default provider property. This
should be one of Receiver.class, Transmitter.class, Sequencer.class,
Synthesizer.class, SourceDataLine.class, TargetDataLine.class,
Clip.class or Port.class. typeClass)Obtain the value of a default provider property. |
| public static synchronized String | Returns: The value of the provider class name part of the property (the part before the hash sign), if available. If the property is not set or the value has no provider class name part, null is returned.The type of the default provider property. This
should be one of Receiver.class, Transmitter.class, Sequencer.class,
Synthesizer.class, SourceDataLine.class, TargetDataLine.class,
Clip.class or Port.class. typeClass)Obtain the provider class name part of a default provider property. |
| private static synchronized Properties | |
| public static List | Returns: A List of providers of the requested type. This List is immutable.The type of providers requested. This should be one
of AudioFileReader.class, AudioFileWriter.class,
FormatConversionProvider.class, MixerProvider.class,
MidiDeviceProvider.class, MidiFileReader.class,
MidiFileWriter.class or SoundbankReader.class. serviceClass)Obtains a List containing installed instances of the providers for the requested service. |
| properties | back to summary |
|---|---|
| private static Properties properties Properties loaded from the properties file for default provider properties. | |
| JDK13Services | back to summary |
|---|---|
| private JDK13Services() Private, no-args constructor to ensure against instantiation. | |
| getDefaultInstanceName | back to summary |
|---|---|
| public static synchronized String getDefaultInstanceName(Class<?> typeClass) Obtain the instance name part of a default provider property.
| |
| getDefaultProvider | back to summary |
|---|---|
| private static synchronized String getDefaultProvider(Class<?> typeClass) Obtain the value of a default provider property.
| |
| getDefaultProviderClassName | back to summary |
|---|---|
| public static synchronized String getDefaultProviderClassName(Class<?> typeClass) Obtain the provider class name part of a default provider property.
| |
| getProperties | back to summary |
|---|---|
| private static synchronized Properties getProperties() Obtain a properties bundle containing property values from the properties file. If the properties file could not be loaded, the properties bundle is empty. | |
| getProviders | back to summary |
|---|---|
| public static List Obtains a List containing installed instances of the providers for the requested service. The returned List is immutable.
| |