public class ID3v2PopmFrameData extends AbstractID3v2FrameData
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
private static Map<Byte,Integer> |
byteToRating |
protected int |
rating |
protected static String |
WMP9_ADDRESS |
private static byte[] |
wmp9encodedRatings |
unsynchronisation| Constructor and Description |
|---|
ID3v2PopmFrameData(boolean unsynchronisation,
byte[] bytes) |
ID3v2PopmFrameData(boolean unsynchronisation,
int rating) |
| Modifier and Type | Method and 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) |
packAndUnsynchroniseFrameData, synchroniseAndUnpackFrameData, toBytesprotected static final String WMP9_ADDRESS
protected String address
protected int rating
private static final byte[] wmp9encodedRatings
public ID3v2PopmFrameData(boolean unsynchronisation,
byte[] bytes)
throws InvalidDataException
InvalidDataExceptionpublic ID3v2PopmFrameData(boolean unsynchronisation,
int rating)
protected void unpackFrameData(byte[] bytes)
throws InvalidDataException
unpackFrameData in class AbstractID3v2FrameDataInvalidDataExceptionprotected byte[] packFrameData()
packFrameData in class AbstractID3v2FrameDatapublic String getAddress()
public void setAddress(String address)
public int getRating()
public void setRating(int rating)
protected int getLength()
getLength in class AbstractID3v2FrameDatapublic int hashCode()
hashCode in class AbstractID3v2FrameDatapublic boolean equals(Object obj)
equals in class AbstractID3v2FrameData