API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.sampled. AudioFileFormat View Source
Author(s)
David Rivas
Kara Kytle
Florian Bomers
Since
1.3
Version
1.24 05/11/17
Serial
Hierarchy
 Object
      AudioFileFormat
Implements
Subclasses
Description
public class AudioFileFormat
  An instance of the AudioFileFormat class describes an audio file, including the file type, the file's length in bytes, the length in sample frames of the audio data contained in the file, and the format of the audio data.
See also:    AudioInputStream
Constructors
public AudioFileFormat (Type type, AudioFormat format, int frameLength)
  Constructs an audio file format object.
public AudioFileFormat (Type type, AudioFormat format, int frameLength, Map<String, Object> properties)
  Construct an audio file format object with a set of defined properties.
protected AudioFileFormat (Type type, int byteLength, AudioFormat format, int frameLength)
  Constructs an audio file format object.
Methods
Hide/Show inherited methods
public int getByteLength ()
  Obtains the size in bytes of the entire audio file (not just its audio data).
public AudioFormat getFormat ()
  Obtains the format of the audio data contained in the audio file.
public int getFrameLength ()
  Obtains the length of the audio data contained in the file, expressed in sample frames.
public Object getProperty (String key)
  Obtain the property value specified by the key.
public Type getType ()
  Obtains the audio file type, such as WAVE or AU.
public Map<String, Object> properties ()
  Obtain an unmodifiable map of properties.
public String toString ()
  Provides a string representation of the file format.
Fields
Hide/Show inherited fields
Nested Classes
  AudioFileFormat.Type
An instance of the Type class represents one of the standard types of audio file.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar