public abstract class AbstractID3v2Reader extends Object implements ID3Reader
| Constructor and Description |
|---|
AbstractID3v2Reader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasTag(File file)
Checks for tag.
|
protected abstract boolean |
isVersionValid(int majorVersion,
int revision)
Evaluates if the version is valid for this ID3v2 tag.
|
public boolean hasTag(File file) throws IOException
ID3ReaderhasTag in interface ID3Readerfile - the File.true if the specified File has a tag, false otherwise.IOException - Signals that an I/O exception has occurred.protected abstract boolean isVersionValid(int majorVersion,
int revision)
majorVersion - the major version value.revision - the revision value.true if the version is valid for this ID3v2 tag,
false otherwise.Copyright © 2018. All rights reserved.