public class JATStringAtom extends AbstractJATAtom
Constructor and Description |
---|
JATStringAtom(MP4AtomKey key,
java.lang.String value)
Used to create a instance of the atom and set the name and value
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getValue()
Used to get the value of the atom
|
int |
hashCode() |
void |
setValue(java.lang.String value)
Used to set the value of the atom
|
java.lang.String |
toString()
Print out the contents of the atom
|
void |
updateField(Mp4Tag tag)
Used to update the jaudiotag tag
|
getDisplayName, getKey, getName
public JATStringAtom(MP4AtomKey key, java.lang.String value)
key
- The key of the atomvalue
- The value of the atompublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value of the atompublic int hashCode()
hashCode
in class AbstractJATAtom
public boolean equals(java.lang.Object obj)
equals
in class AbstractJATAtom
public java.lang.String toString()
toString
in class java.lang.Object
public void updateField(Mp4Tag tag) throws FieldDataInvalidException
updateField
in class AbstractJATAtom
tag
- The tag to updateFieldDataInvalidException