|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.htmllog.HTMLLogHelper
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
PREF_DS
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static HTMLLogService |
service
Supported API: false |
static String |
SHOW_CONSOLE_KEY
|
Constructor Summary | |
HTMLLogHelper()
|
Method Summary | |
static String |
addDebugMessage(String message)
Supported API: false |
static String |
addDebugMessage(String message,
Exception exception,
Locale locale)
Supported API: false |
static String |
addDebugMessage(String rb,
String rbKey,
Object[] params,
Exception exception,
Locale locale)
Supported API: false |
static String |
addErrorMessage(String message)
Supported API: false |
static String |
addErrorMessage(String message,
Exception exception,
Locale locale)
Supported API: false |
static String |
addErrorMessage(String rb,
String rbKey,
Object[] params,
Exception exception,
Locale locale)
Supported API: false |
static String |
addInfoMessage(String message)
Supported API: false |
static String |
addInfoMessage(String message,
Exception exception,
Locale locale)
Supported API: false |
static String |
addInfoMessage(String rb,
String rbKey,
Object[] params,
Exception exception,
Locale locale)
Supported API: false |
private static String |
addMessage(int messageType,
String message)
|
private static String |
addMessage(int messageType,
String message,
Exception exception,
Locale locale)
|
private static String |
addMessage(int messageType,
String rb,
String rbKey,
Object[] params,
Exception exception,
Locale locale)
|
static String |
addStatusMessage(String message)
Supported API: false |
static String |
addStatusMessage(String message,
Exception exception,
Locale locale)
Supported API: false |
static String |
addStatusMessage(String rb,
String rbKey,
Object[] params,
Exception exception,
Locale locale)
Supported API: false |
static String |
addWarningMessage(String message)
Supported API: false |
static String |
addWarningMessage(String message,
Exception exception,
Locale locale)
Supported API: false |
static String |
addWarningMessage(String rb,
String rbKey,
Object[] params,
Exception exception,
Locale locale)
Supported API: false |
static String |
getPrefSectionString(int messageType)
Returns the pref. |
static String |
getPrefValue(int messageType,
String key)
Returns the pref. |
static String |
getPrefValue(int messageType,
String key,
String defaultValue)
Returns the pref. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(HTMLLogHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
static boolean |
shouldDisplayMessage(int messageType,
String key)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final HTMLLogService service
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final String SHOW_CONSOLE_KEY
public static final String PREF_DS
Constructor Detail |
public HTMLLogHelper()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(HTMLLogHelper thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public static String addDebugMessage(String message, Exception exception, Locale locale) throws WTException
message
- exception
- locale
-
WTException
public static String addDebugMessage(String rb, String rbKey, Object[] params, Exception exception, Locale locale) throws WTException
rb
- rbKey
- params
- exception
- locale
-
WTException
private static String addMessage(int messageType, String message, Exception exception, Locale locale) throws WTException
messageType
- message
- exception
- locale
-
WTException
private static String addMessage(int messageType, String rb, String rbKey, Object[] params, Exception exception, Locale locale) throws WTException
messageType
- rb
- rbKey
- params
- exception
- locale
-
WTException
public static String addStatusMessage(String message, Exception exception, Locale locale) throws WTException
message
- exception
- locale
-
WTException
public static String addInfoMessage(String message, Exception exception, Locale locale) throws WTException
message
- exception
- locale
-
WTException
public static String addWarningMessage(String message, Exception exception, Locale locale) throws WTException
message
- exception
- locale
-
WTException
public static String addErrorMessage(String message, Exception exception, Locale locale) throws WTException
message
- exception
- locale
-
WTException
public static String addStatusMessage(String rb, String rbKey, Object[] params, Exception exception, Locale locale) throws WTException
rb
- rbKey
- params
- exception
- locale
-
WTException
public static String addInfoMessage(String rb, String rbKey, Object[] params, Exception exception, Locale locale) throws WTException
rb
- rbKey
- params
- exception
- locale
-
WTException
public static String addWarningMessage(String rb, String rbKey, Object[] params, Exception exception, Locale locale) throws WTException
rb
- rbKey
- params
- exception
- locale
-
WTException
public static String addErrorMessage(String rb, String rbKey, Object[] params, Exception exception, Locale locale) throws WTException
rb
- rbKey
- params
- exception
- locale
-
WTException
public static String addDebugMessage(String message) throws WTException
message
-
WTException
public static String addStatusMessage(String message) throws WTException
message
-
WTException
public static String addInfoMessage(String message) throws WTException
message
-
WTException
public static String addWarningMessage(String message) throws WTException
message
-
WTException
public static String addErrorMessage(String message) throws WTException
message
-
WTException
private static String addMessage(int messageType, String message) throws WTException
messageType
- message
-
WTException
public static boolean shouldDisplayMessage(int messageType, String key)
public static String getPrefSectionString(int messageType)
public static String getPrefValue(int messageType, String key)
public static String getPrefValue(int messageType, String key, String defaultValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |