public final class WavFormat extends RiffFormat
Represents Waveform Audio File Format.
filePath, stream
Constructor and Description |
---|
WavFormat(InputStream input)
Initializes a new instance of the
WavFormat class. |
WavFormat(String fileName)
Initializes a new instance of the
WavFormat class. |
Modifier and Type | Method and Description |
---|---|
WavAudioInfo |
getAudioInfo()
Gets the audio information.
|
int |
getType()
Gets document type.
|
cleanMetadata, getDublinCore, getXmpData, getXmpProperties, getXmpValues, hasXmp, removeXmpData, setXmpData
close, dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public WavFormat(String fileName)
Initializes a new instance of the WavFormat
class.
fileName
- Absolute path to the file.public WavFormat(InputStream input)
Initializes a new instance of the WavFormat
class.
input
- File stream.public int getType()
Gets document type.
getType
in class FormatBase
public final WavAudioInfo getAudioInfo()
Gets the audio information.
Copyright © 2018. All rights reserved.