public abstract class AudioFileReader2 extends AudioFileReader
logger, MINIMUM_SIZE_FOR_VALID_AUDIO_FILE
Constructor and Description |
---|
AudioFileReader2() |
Modifier and Type | Method and Description |
---|---|
protected abstract GenericAudioHeader |
getEncodingInfo(Path path)
Read Encoding Information
|
protected GenericAudioHeader |
getEncodingInfo(RandomAccessFile raf) |
protected abstract Tag |
getTag(Path path)
Read tag Information
|
protected Tag |
getTag(RandomAccessFile file) |
AudioFile |
read(File f) |
public AudioFile read(File f) throws CannotReadException, IOException, TagException, ReadOnlyFileException, InvalidAudioFrameException
read
in class AudioFileReader
CannotReadException
IOException
TagException
ReadOnlyFileException
InvalidAudioFrameException
protected abstract GenericAudioHeader getEncodingInfo(Path path) throws CannotReadException, IOException
path
- CannotReadException
IOException
protected GenericAudioHeader getEncodingInfo(RandomAccessFile raf) throws CannotReadException, IOException
getEncodingInfo
in class AudioFileReader
CannotReadException
IOException
protected abstract Tag getTag(Path path) throws CannotReadException, IOException
path
- CannotReadException
IOException
protected Tag getTag(RandomAccessFile file) throws CannotReadException, IOException
getTag
in class AudioFileReader
CannotReadException
IOException
Copyright © 2005–2020 jthink.net. All rights reserved.