|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.fckeditor.localization.LocalizedMessages
public class LocalizedMessages
Provides access to localized messages (properties).
Localized messages are loaded for a particular locale from a HTTP request.
The locale is resolved by the current LocaleResolver
instance/singleton. If a locale or a bundle for a locale cannot be found,
default messages are used.
Note: Loaded messages are cached per locale, any subsequent call of the same locale will be served by the cache instead of another resource bundle retrieval.
Method Summary | |
---|---|
String |
getCompatibleBrowserNo()
Returns localized editor.compatibleBrowser.no property. |
String |
getCompatibleBrowserYes()
Returns localized editor.compatibleBrowser.yes property. |
String |
getCreateFolderDisabled()
Returns localized connector.createFolder.disabled property. |
String |
getCreateFolderEnabled()
Returns localized connector.createFolder.enabled property. |
String |
getCreateFolderWriteError()
Returns localized connector.createFolder.write_error property. |
String |
getFileRenamedWarning(String newFileName)
Returns localized connector.file_renamed_warning property. |
String |
getFileUploadDisabled()
Returns localized connector.fileUpload.disabled property. |
String |
getFileUploadEnabled()
Returns localized connector.fileUpload.enabled property. |
String |
getFileUploadWriteError()
Returns localized connector.fileUpload.write_error property. |
String |
getFolderAlreadyExistsError()
Returns localized connector.createFolder.folder_already_exists_error property. |
String |
getGetResourcesDisabled()
Returns localized connector.getResources.disabled property. |
String |
getGetResourcesEnabled()
Returns localized connector.getResources.enabled property. |
String |
getGetResourcesReadError()
Returns localized connector.getResources.read_error property. |
static LocalizedMessages |
getInstance(HttpServletRequest request)
Returns an instance of LocalizedMessages for a given
request. |
String |
getInvalidCommandSpecified()
Returns localized connector.invalid_command_specified property. |
String |
getInvalidCurrentFolderSpecified()
Returns localized connector.invalid_current_folder_specified property. |
String |
getInvalidFileTypeSpecified()
Returns localized connector.fileUpload.invalid_file_type_specified property. |
String |
getInvalidNewFolderNameSpecified()
Returns localized connector.createFolder.invalid_new_folder_name_specified property. |
String |
getInvalidResouceTypeSpecified()
Returns localized connector.invalid_resource_type_specified property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LocalizedMessages getInstance(HttpServletRequest request)
LocalizedMessages
for a given
request. This method automatically determines the locale of this request
and loads the appropriate bundle. If locale is null or not available,
the default locale will be used.
request
- the current request instance
public String getCompatibleBrowserYes()
editor.compatibleBrowser.yes
property.
public String getCompatibleBrowserNo()
editor.compatibleBrowser.no
property.
public String getFileUploadEnabled()
connector.fileUpload.enabled
property.
public String getFileUploadDisabled()
connector.fileUpload.disabled
property.
public String getFileRenamedWarning(String newFileName)
connector.file_renamed_warning
property.
newFileName
- the new filename of the warning
public String getInvalidFileTypeSpecified()
connector.fileUpload.invalid_file_type_specified
property.
public String getFileUploadWriteError()
connector.fileUpload.write_error
property.
public String getGetResourcesEnabled()
connector.getResources.enabled
property.
public String getGetResourcesDisabled()
connector.getResources.disabled
property.
public String getGetResourcesReadError()
connector.getResources.read_error
property.
public String getCreateFolderEnabled()
connector.createFolder.enabled
property.
public String getCreateFolderDisabled()
connector.createFolder.disabled
property.
public String getInvalidCommandSpecified()
connector.invalid_command_specified
property.
public String getFolderAlreadyExistsError()
connector.createFolder.folder_already_exists_error
property.
public String getInvalidNewFolderNameSpecified()
connector.createFolder.invalid_new_folder_name_specified
property.
public String getCreateFolderWriteError()
connector.createFolder.write_error
property.
public String getInvalidResouceTypeSpecified()
connector.invalid_resource_type_specified
property.
public String getInvalidCurrentFolderSpecified()
connector.invalid_current_folder_specified
property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |