| Package | Description | 
|---|---|
| javax.sound.sampled | 
 Provides interfaces and classes for capture, processing, and playback of sampled audio data. 
 | 
| javax.sound.sampled.spi | 
 Supplies abstract classes for service providers to subclass when
offering new audio devices, sound file readers and writers, or audio format converters. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AudioFileFormat | 
AudioSystem.getAudioFileFormat(File file)
Obtains the audio file format of the specified  
File. | 
static AudioFileFormat | 
AudioSystem.getAudioFileFormat(InputStream stream)
Obtains the audio file format of the provided input stream. 
 | 
static AudioFileFormat | 
AudioSystem.getAudioFileFormat(URL url)
Obtains the audio file format of the specified URL. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
abstract AudioFileFormat | 
AudioFileReader.getAudioFileFormat(File file)
Obtains the audio file format of the  
File provided. | 
abstract AudioFileFormat | 
AudioFileReader.getAudioFileFormat(InputStream stream)
Obtains the audio file format of the input stream provided. 
 | 
abstract AudioFileFormat | 
AudioFileReader.getAudioFileFormat(URL url)
Obtains the audio file format of the URL provided. 
 | 
 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, 2012, Oracle and/or its affiliates.  All rights reserved.