Class Messages
- java.lang.Object
-
- org.apache.manifoldcf.core.i18n.Messages
-
- org.apache.manifoldcf.ui.i18n.Messages
-
- org.apache.manifoldcf.crawler.connectors.generic.Messages
-
public class Messages extends org.apache.manifoldcf.ui.i18n.Messages
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_BUNDLE_NAME
static java.lang.String
DEFAULT_PATH_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
Messages()
Constructor - do no instantiate
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getAttributeJavascriptString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getAttributeJavascriptString(java.util.Locale locale, java.lang.String messageKey)
static java.lang.String
getAttributeJavascriptString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getAttributeString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getAttributeString(java.util.Locale locale, java.lang.String messageKey)
static java.lang.String
getAttributeString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getBodyJavascriptString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getBodyJavascriptString(java.util.Locale locale, java.lang.String messageKey)
static java.lang.String
getBodyJavascriptString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getBodyString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getBodyString(java.util.Locale locale, java.lang.String messageKey)
static java.lang.String
getBodyString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static java.lang.String
getString(java.util.Locale locale, java.lang.String messageKey)
static java.lang.String
getString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
static void
outputResource(org.apache.manifoldcf.core.interfaces.IHTTPOutput output, java.util.Locale locale, java.lang.String resourceKey, java.util.Map<java.lang.String,java.lang.String> substitutionParameters, boolean mapToUpperCase)
static void
outputResourceWithVelocity(org.apache.manifoldcf.core.interfaces.IHTTPOutput output, java.util.Locale locale, java.lang.String resourceKey, java.util.Map<java.lang.String,java.lang.Object> contextObjects)
static void
outputResourceWithVelocity(org.apache.manifoldcf.core.interfaces.IHTTPOutput output, java.util.Locale locale, java.lang.String resourceKey, java.util.Map<java.lang.String,java.lang.String> substitutionParameters, boolean mapToUpperCase)
-
Methods inherited from class org.apache.manifoldcf.ui.i18n.Messages
getAttributeJavascriptString, getAttributeString, getBodyJavascriptString, getBodyString, outputResource, outputResourceWithVelocity, outputResourceWithVelocity
-
-
-
-
Field Detail
-
DEFAULT_BUNDLE_NAME
public static final java.lang.String DEFAULT_BUNDLE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_PATH_NAME
public static final java.lang.String DEFAULT_PATH_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getString
public static java.lang.String getString(java.util.Locale locale, java.lang.String messageKey)
-
getAttributeString
public static java.lang.String getAttributeString(java.util.Locale locale, java.lang.String messageKey)
-
getBodyString
public static java.lang.String getBodyString(java.util.Locale locale, java.lang.String messageKey)
-
getAttributeJavascriptString
public static java.lang.String getAttributeJavascriptString(java.util.Locale locale, java.lang.String messageKey)
-
getBodyJavascriptString
public static java.lang.String getBodyJavascriptString(java.util.Locale locale, java.lang.String messageKey)
-
getString
public static java.lang.String getString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getAttributeString
public static java.lang.String getAttributeString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getBodyString
public static java.lang.String getBodyString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getAttributeJavascriptString
public static java.lang.String getAttributeJavascriptString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getBodyJavascriptString
public static java.lang.String getBodyJavascriptString(java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getString
public static java.lang.String getString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getAttributeString
public static java.lang.String getAttributeString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getBodyString
public static java.lang.String getBodyString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getAttributeJavascriptString
public static java.lang.String getAttributeJavascriptString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
getBodyJavascriptString
public static java.lang.String getBodyJavascriptString(java.lang.String bundleName, java.util.Locale locale, java.lang.String messageKey, java.lang.Object[] args)
-
outputResource
public static void outputResource(org.apache.manifoldcf.core.interfaces.IHTTPOutput output, java.util.Locale locale, java.lang.String resourceKey, java.util.Map<java.lang.String,java.lang.String> substitutionParameters, boolean mapToUpperCase) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
outputResourceWithVelocity
public static void outputResourceWithVelocity(org.apache.manifoldcf.core.interfaces.IHTTPOutput output, java.util.Locale locale, java.lang.String resourceKey, java.util.Map<java.lang.String,java.lang.String> substitutionParameters, boolean mapToUpperCase) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
outputResourceWithVelocity
public static void outputResourceWithVelocity(org.apache.manifoldcf.core.interfaces.IHTTPOutput output, java.util.Locale locale, java.lang.String resourceKey, java.util.Map<java.lang.String,java.lang.Object> contextObjects) throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-