public class Message extends Object
Title: 工作流设计工具(BPD)
Description: 配置属性消息类
Copyright: Copyright (c) 2004
Company: itjds
| 构造器和说明 |
|---|
Message() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Locale |
getChoosenLocale()
Returns the current locale.
|
static ResourceBundle |
getChoosenResourceBundle()
Returns the current locale.
|
static Locale |
getDefaultLocale()
Returns the default locale.
|
static ResourceBundle |
getDefaultResourceBundle()
Returns the default resource bundle.
|
static String |
getEncode() |
static String |
getEncodeString(String message,
boolean isEncode)
Sets the encoding String of message
|
static String |
getLanguageDependentString(String nm)
Gets a language dependent string from the resource bundle.
|
static void |
recoverResourceFile() |
static void |
setChoosen(Locale loc)
Sets the new resource and locale to be used.
|
void |
setEncode(String encodingStr) |
static void |
setResourceFile(String newRsFile) |
public static String getLanguageDependentString(String nm)
Resource bundle represents the property file. For example, if
property file contains something like this:
nm - name of the resource to fetch.public static ResourceBundle getDefaultResourceBundle()
public static ResourceBundle getChoosenResourceBundle()
public static Locale getDefaultLocale()
public static Locale getChoosenLocale()
public static void setChoosen(Locale loc) throws MissingResourceException
public static String getEncodeString(String message, boolean isEncode)
message - the name of string.isEncode - is or is not ecoding..public static void setResourceFile(String newRsFile)
public static void recoverResourceFile()
public static String getEncode()
public void setEncode(String encodingStr)
Copyright © 2023 onecode. All rights reserved.