|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jaudiotagger.tag.asf.AsfTagField
org.jaudiotagger.tag.asf.AsfTagTextField
public class AsfTagTextField
Represents a tag text field for ASF fields.
| Field Summary |
|---|
| Fields inherited from class org.jaudiotagger.tag.asf.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.tag.asf.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 TagTextFieldpublic java.lang.String getEncoding()
getEncoding in interface TagTextFieldpublic boolean isEmpty()
AsfTagField
isEmpty in interface TagFieldisEmpty in class AsfTagFieldpublic void setContent(java.lang.String content)
setContent in interface TagTextFieldcontent - fields content.public void setEncoding(java.lang.String encoding)
setEncoding in interface TagTextFieldencoding - charset.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||