Package com.mpatric.mp3agic
Class ID3v2PopmFrameData
java.lang.Object
com.mpatric.mp3agic.AbstractID3v2FrameData
com.mpatric.mp3agic.ID3v2PopmFrameData
public class ID3v2PopmFrameData extends AbstractID3v2FrameData
-
Field Summary
Fields Modifier and Type Field Description protected String
address
protected int
rating
protected static String
WMP9_ADDRESS
-
Constructor Summary
Constructors Constructor Description ID3v2PopmFrameData(boolean unsynchronisation, byte[] bytes)
ID3v2PopmFrameData(boolean unsynchronisation, int rating)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
String
getAddress()
protected int
getLength()
int
getRating()
int
hashCode()
protected byte[]
packFrameData()
void
setAddress(String address)
void
setRating(int rating)
protected void
unpackFrameData(byte[] bytes)
Methods inherited from class com.mpatric.mp3agic.AbstractID3v2FrameData
packAndUnsynchroniseFrameData, synchroniseAndUnpackFrameData, toBytes
-
Field Details
-
WMP9_ADDRESS
- See Also:
- Constant Field Values
-
address
-
rating
protected int rating
-
-
Constructor Details
-
ID3v2PopmFrameData
- Throws:
InvalidDataException
-
ID3v2PopmFrameData
public ID3v2PopmFrameData(boolean unsynchronisation, int rating)
-
-
Method Details
-
unpackFrameData
- Specified by:
unpackFrameData
in classAbstractID3v2FrameData
- Throws:
InvalidDataException
-
packFrameData
protected byte[] packFrameData()- Specified by:
packFrameData
in classAbstractID3v2FrameData
-
getAddress
-
setAddress
-
getRating
public int getRating() -
setRating
public void setRating(int rating) -
getLength
protected int getLength()- Specified by:
getLength
in classAbstractID3v2FrameData
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractID3v2FrameData
-
equals
- Overrides:
equals
in classAbstractID3v2FrameData
-