public final class CTIMessageHelper extends Object
Modifier and Type | Field and Description |
---|---|
static short |
ERROR
エラーレベルメッセージです。
|
static short |
FATAL
深刻なエラーレベルメッセージです。
|
static short |
INFO
情報レベルメッセージです。
|
static MessageHandler |
NULL
どこにも表示しないメッセージハンドラです。
|
static MessageHandler |
STDERR
Deprecated.
createStreamMessageHandler(System.err)を使用してください。
|
static MessageHandler |
STDOUT
Deprecated.
createStreamMessageHandler(System.out)を使用してください。
|
static short |
WARN
警告レベルメッセージです。
|
Modifier and Type | Method and Description |
---|---|
static MessageHandler |
createStreamMessageHandler(PrintStream out) |
static String |
getFormat(short code)
メッセージコードに対応するメッセージフォーマットを返します。
|
static short |
getLevel(short code)
エラーレベルを返します。
|
static String |
toString(short code,
String[] args)
メッセージを文字列化します。
|
public static final MessageHandler STDOUT
public static final MessageHandler STDERR
public static final MessageHandler NULL
public static final short INFO
public static final short WARN
public static final short ERROR
public static final short FATAL
public static MessageHandler createStreamMessageHandler(PrintStream out)
public static final short getLevel(short code)
code
- public static String getFormat(short code)
code
- Copyright © 2018 座間ソフト. All rights reserved.