API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.sampled.spi. FormatConversionProvider View Source
Author(s)
Kara Kytle
Since
1.3
Version
1.30, 05/11/17
Serial
Hierarchy
 Object
      FormatConversionProvider
Implements
Subclasses
Description
publicabstract abstract class FormatConversionProvider
  A format conversion provider provides format conversion services from one or more input formats to one or more output formats.
See also:   
Constructors
public FormatConversionProvider ()
Methods
Hide/Show inherited methods
publicabstract AudioInputStream getAudioInputStream (Encoding targetEncoding, AudioInputStream sourceStream)
  Obtains an audio input stream with the specified encoding from the given audio input stream.
publicabstract AudioInputStream getAudioInputStream (AudioFormat targetFormat, AudioInputStream sourceStream)
  Obtains an audio input stream with the specified format from the given audio input stream.
publicabstract Encoding getSourceEncodings ()
  Obtains the set of source format encodings from which format conversion services are provided by this provider.
publicabstract Encoding getTargetEncodings ()
  Obtains the set of target format encodings to which format conversion services are provided by this provider.
publicabstract Encoding getTargetEncodings (AudioFormat sourceFormat)
  Obtains the set of target format encodings supported by the format converter given a particular source format.
publicabstract AudioFormat getTargetFormats (Encoding targetEncoding, AudioFormat sourceFormat)
  Obtains the set of target formats with the encoding specified supported by the format converter If no target formats with the specified encoding are supported for this source format, an array of length 0 is returned.
public boolean isConversionSupported (Encoding targetEncoding, AudioFormat sourceFormat)
  Indicates whether the format converter supports conversion to a particular encoding from a particular format.
public boolean isConversionSupported (AudioFormat targetFormat, AudioFormat sourceFormat)
  Indicates whether the format converter supports conversion to one particular format from another.
public boolean isSourceEncodingSupported (Encoding sourceEncoding)
  Indicates whether the format converter supports conversion from the specified source format encoding.
public boolean isTargetEncodingSupported (Encoding targetEncoding)
  Indicates whether the format converter supports conversion to the specified target format encoding.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar