|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.kde.koala.KCatalogue
public class KCatalogue
This class abstracts a gettext message catalog. It will take care of opening the file and reading the catalog.
KLocale| Constructor Summary | |
|---|---|
|
KCatalogue()
|
protected |
KCatalogue(java.lang.Class dummy)
|
|
KCatalogue(KCatalogue rhs)
Copy constructor. |
|
KCatalogue(java.lang.String name)
|
|
KCatalogue(java.lang.String name,
java.lang.String language)
Constructor. |
| Method Summary | |
|---|---|
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
java.lang.String |
language()
Returns the language of the catalog. |
java.lang.String |
name()
Returns the name of the catalog. |
int |
pluralType()
Returns the plural type for the catalog. |
void |
setPluralType(int pluralType)
Sets the plural type for the catalog. |
java.lang.String |
translate(java.lang.String msgid)
Retrieves a translation of the specified message id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected KCatalogue(java.lang.Class dummy)
public KCatalogue(java.lang.String name,
java.lang.String language)
name - The name of the cataloglanguage - The language of this catalogpublic KCatalogue(java.lang.String name)
public KCatalogue()
public KCatalogue(KCatalogue rhs)
| Method Detail |
|---|
public java.lang.String name()
public java.lang.String language()
public int pluralType()
public void setPluralType(int pluralType)
public java.lang.String translate(java.lang.String msgid)
msgid - The message id
protected void finalize()
throws java.lang.InternalError
finalize in class java.lang.Objectjava.lang.InternalErrorpublic void dispose()
public boolean isDisposed()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||