|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jaudiotagger.audio.asf.tag.AsfTagField org.jaudiotagger.audio.asf.tag.AsfTagTextField
public class AsfTagTextField
Represents a tag text field for ASF fields.
Field Summary |
---|
Fields inherited from class org.jaudiotagger.audio.asf.tag.AsfTagField |
---|
toWrap |
Constructor Summary | |
---|---|
AsfTagTextField(AsfFieldKey field,
java.lang.String value)
Creates a tag text field and assigns the string value. |
|
AsfTagTextField(MetadataDescriptor source)
Creates an instance. |
|
AsfTagTextField(java.lang.String fieldKey,
java.lang.String value)
Creates a tag text field and assigns the string value. |
Method Summary | |
---|---|
java.lang.String |
getContent()
Returns the content of the field. |
java.lang.String |
getEncoding()
Returns the current used charset encoding. |
boolean |
isEmpty()
Determines whether the content of the field is empty. |
void |
setContent(java.lang.String content)
Sets the content of the field. |
void |
setEncoding(java.lang.String encoding)
Sets the charset encoding used by the field. |
Methods inherited from class org.jaudiotagger.audio.asf.tag.AsfTagField |
---|
clone, copyContent, getDescriptor, getId, getRawContent, isBinary, isBinary, isCommon, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jaudiotagger.tag.TagField |
---|
copyContent, getId, getRawContent, isBinary, isBinary, isCommon, toString |
Constructor Detail |
---|
public AsfTagTextField(AsfFieldKey field, java.lang.String value)
field
- ASF field to represent.value
- the value to assign.public AsfTagTextField(MetadataDescriptor source)
source
- The metadata descriptor, whose content is published.MetadataDescriptor.TYPE_BINARY
.public AsfTagTextField(java.lang.String fieldKey, java.lang.String value)
fieldKey
- The fields identifier.value
- the value to assign.Method Detail |
---|
public java.lang.String getContent()
getContent
in interface TagTextField
public java.lang.String getEncoding()
getEncoding
in interface TagTextField
public boolean isEmpty()
AsfTagField
isEmpty
in interface TagField
isEmpty
in class AsfTagField
public void setContent(java.lang.String content)
setContent
in interface TagTextField
content
- fields content.public void setEncoding(java.lang.String encoding)
setEncoding
in interface TagTextField
encoding
- charset.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |