entagged.audioformats.generic
Interface TagTextField

All Superinterfaces:
TagField
All Known Implementing Classes:
ApeTagTextField, ApicId3Frame, AsfCopyrightField, CommId3Frame, Mp4TagTextField, Mp4TagTextNumberField, OggTagField, TextId3Frame, TimeId3Frame

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
 String getContent()
          Returns the content of the field.
 String getEncoding()
          Returns the current used charset encoding.
 void setContent(String content)
          Sets the content of the field.
 void setEncoding(String encoding)
          Sets the charset encoding used by the field.
 
Methods inherited from interface entagged.audioformats.generic.TagField
copyContent, getId, getRawContent, isBinary, isBinary, isCommon, isEmpty, toString
 

Method Detail

getContent

String getContent()
Returns the content of the field.

Returns:
Content

getEncoding

String getEncoding()
Returns the current used charset encoding.

Returns:
Charset encoding.

setContent

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

Parameters:
content - fields content.

setEncoding

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

Parameters:
encoding - charset.


Copyright © 2007-2008. All Rights Reserved.