| Modifier and Type | Class and Description |
|---|---|
static class |
MessageBundle.MessageBundleKey |
| Constructor and Description |
|---|
MessageBundle() |
MessageBundle(org.fedorahosted.tennera.jgettext.Catalog catalog) |
MessageBundle(org.fedorahosted.openprops.Properties props) |
MessageBundle(String locale,
org.fedorahosted.openprops.Properties props) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(org.fedorahosted.tennera.jgettext.Message msg) |
static MessageBundle.MessageBundleKey |
createKey(org.fedorahosted.tennera.jgettext.Message msg) |
static MessageBundle.MessageBundleKey |
createKey(String msgid) |
static MessageBundle.MessageBundleKey |
createKey(String msgctx,
String msgid) |
String |
getBasename() |
org.fedorahosted.tennera.jgettext.Message |
getHeaderMessage() |
Set<MessageBundle.MessageBundleKey> |
getKeys() |
String |
getLocale() |
org.fedorahosted.tennera.jgettext.Message |
getMessage(String msgid) |
org.fedorahosted.tennera.jgettext.Message |
getMessage(String msgctx,
String msgid) |
Set<String> |
getMessageIds() |
String |
getPluralForms() |
boolean |
isEmpty() |
boolean |
isTemplate() |
Iterator<org.fedorahosted.tennera.jgettext.Message> |
iterator() |
static MessageBundle |
loadCatalog(File file) |
static MessageBundle |
loadProperties(File file,
String basename,
String locale) |
static MessageBundle |
loadProperties(InputStream in) |
static MessageBundle |
loadProperties(Reader reader) |
void |
setBasename(String basename) |
void |
setLocale(String locale) |
void |
setTemplate(boolean template) |
int |
size() |
void |
storeCatalog(File file) |
void |
storeProperties(File file) |
org.fedorahosted.tennera.jgettext.Catalog |
toCatalog(boolean template) |
org.fedorahosted.openprops.Properties |
toOpenProps() |
Properties |
toProperties() |
public MessageBundle(org.fedorahosted.tennera.jgettext.Catalog catalog)
public MessageBundle(org.fedorahosted.openprops.Properties props)
public MessageBundle(String locale, org.fedorahosted.openprops.Properties props)
public MessageBundle()
public static MessageBundle.MessageBundleKey createKey(org.fedorahosted.tennera.jgettext.Message msg)
public static MessageBundle.MessageBundleKey createKey(String msgctx, String msgid)
public static MessageBundle.MessageBundleKey createKey(String msgid)
public static MessageBundle loadProperties(File file, String basename, String locale) throws IOException
IOExceptionpublic static MessageBundle loadProperties(InputStream in) throws IOException
IOExceptionpublic static MessageBundle loadProperties(Reader reader) throws IOException
IOExceptionpublic static MessageBundle loadCatalog(File file) throws IOException
IOExceptionpublic String getBasename()
public void setBasename(String basename)
public String getLocale()
public void setLocale(String locale)
public boolean isTemplate()
public void setTemplate(boolean template)
public int size()
public boolean isEmpty()
public final void addMessage(org.fedorahosted.tennera.jgettext.Message msg)
public org.fedorahosted.tennera.jgettext.Message getMessage(String msgid)
public Set<MessageBundle.MessageBundleKey> getKeys()
public org.fedorahosted.tennera.jgettext.Message getHeaderMessage()
public String getPluralForms()
public Iterator<org.fedorahosted.tennera.jgettext.Message> iterator()
public org.fedorahosted.tennera.jgettext.Catalog toCatalog(boolean template)
public Properties toProperties()
public org.fedorahosted.openprops.Properties toOpenProps()
public void storeCatalog(File file) throws IOException
IOExceptionpublic void storeProperties(File file) throws IOException
IOExceptionCopyright © 2015. All rights reserved.