|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ar.com.ktulu.dict.StringDefinition
A word definition stored in a String.
| Constructor Summary | |
StringDefinition(java.lang.String s)
|
|
| Method Summary | |
java.lang.Object |
getContent()
Return the word definition. |
java.lang.String |
getContentEncoding()
Return the encoding of this definition. |
java.lang.String |
getContentType()
Return the content type of this definition. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StringDefinition(java.lang.String s)
| Method Detail |
public java.lang.String getContentType()
Definitionnull the default mime type defined in
the RFC is assumed ("text/plain; charset=utf-8").
getContentType in interface Definitionpublic java.lang.String getContentEncoding()
Definitionnull the default mime type defined in
the RFC is assumed ("8bit").
getContentEncoding in interface Definitionpublic java.lang.Object getContent()
DefinitiontoString() as this is what the server uses to
send the definition to the client.
getContent in interface Definitionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||