public final class WavFormat extends FormatBase
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 |
---|---|
void |
cleanMetadata()
Removes metadata.
|
WavAudioInfo |
getAudioInfo()
Gets the audio information.
|
int |
getType()
Gets document type.
|
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.
Value: Document type.getType
in class FormatBase
public final WavAudioInfo getAudioInfo()
Gets the audio information.
Value: The audio information.public void cleanMetadata()
Removes metadata.
cleanMetadata
in class FormatBase
Copyright © 2017. All rights reserved.