org.jaudiotagger.tag
Interface TagTextField

All Superinterfaces:
TagField
All Known Implementing Classes:
AsfTagTextField, GenericTag.GenericTagTextField, ID3v1TagField, Mp4DiscNoField, Mp4GenreField, Mp4TagByteField, Mp4TagReverseDnsField, Mp4TagTextField, Mp4TagTextNumberField, Mp4TrackField, VorbisCommentTagField

public interface TagTextField
extends TagField

This interface extends the default field definition by methods for working with human readable text.
A TagTextField does not store binary data.

Author:
Rapha�l Slinckx

Method Summary
 java.lang.String getContent()
          Returns the content of the field.
 java.lang.String getEncoding()
          Returns the current used charset encoding.
 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 interface org.jaudiotagger.tag.TagField
copyContent, getId, getRawContent, isBinary, isBinary, isCommon, isEmpty, toString
 

Method Detail

getContent

java.lang.String getContent()
Returns the content of the field.

Returns:
Content

getEncoding

java.lang.String getEncoding()
Returns the current used charset encoding.

Returns:
Charset encoding.

setContent

void setContent(java.lang.String content)
Sets the content of the field.

Parameters:
content - fields content.

setEncoding

void setEncoding(java.lang.String encoding)
Sets the charset encoding used by the field.

Parameters:
encoding - charset.