com.gcapmedia.dab.epg
Class DescriptiveText
java.lang.Object
com.gcapmedia.dab.epg.DescriptiveText
- Direct Known Subclasses:
- LongDescription, Name, ShortDescription
public abstract class DescriptiveText
- extends java.lang.Object
- Author:
- ben.poor
Constructor Summary |
DescriptiveText(java.lang.String text,
int maxLength,
java.util.Locale locale)
Create a new descriptive text |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DescriptiveText
public DescriptiveText(java.lang.String text,
int maxLength,
java.util.Locale locale)
- Create a new descriptive text
- Parameters:
text
- Descriptive textmaxLength
- Maximum lengthlocale
- Text locale, defining the language of the description
getText
public java.lang.String getText()
- Returns:
- Returns the descriptive text
getMaximumLength
public int getMaximumLength()
- Returns:
- Returns the maximum length of the descriptive text
getLanguage
public java.lang.String getLanguage()
- Returns:
- Returns the language of the text as ISO 639
getLength
public int getLength()
- Returns:
- Returns the text length
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2007. All Rights Reserved.