|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--java.io.PrintStream
|
+--java.rmi.server.LogStream
LogStream は、システムを監視するときに重要になる可能性のあるエラーを、ログに記録する手段を提供します。
| フィールドの概要 | |
static int |
BRIEF
推奨されていません。 ログレベル定数です (簡潔なログ)。 |
static int |
SILENT
推奨されていません。 ログレベル定数です (ログなし)。 |
static int |
VERBOSE
推奨されていません。 ログレベル定数です (詳細なログ)。 |
| クラス java.io.FilterOutputStream から継承したフィールド |
out |
| メソッドの概要 | |
static PrintStream |
getDefaultStream()
推奨されていません。 代替はありません。 |
OutputStream |
getOutputStream()
推奨されていません。 代替はありません。 |
static LogStream |
log(String name)
推奨されていません。 代替はありません。 |
static int |
parseLevel(String s)
推奨されていません。 代替はありません。 |
static void |
setDefaultStream(PrintStream newDefault)
推奨されていません。 代替はありません。 |
void |
setOutputStream(OutputStream out)
推奨されていません。 代替はありません。 |
String |
toString()
推奨されていません。 代替はありません。 |
void |
write(byte[] b,
int off,
int len)
推奨されていません。 代替はありません。 |
void |
write(int b)
推奨されていません。 代替はありません。 |
| クラス java.io.PrintStream から継承したメソッド |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, println, println, setError |
| クラス java.io.FilterOutputStream から継承したメソッド |
write |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
public static final int SILENT
public static final int BRIEF
public static final int VERBOSE
| メソッドの詳細 |
public static LogStream log(String name)
name - 必要な LogStream を識別する名
public static PrintStream getDefaultStream()
public static void setDefaultStream(PrintStream newDefault)
newDefault - 新しいデフォルトのログストリームpublic OutputStream getOutputStream()
public void setOutputStream(OutputStream out)
out - このログの新しい出力ストリームpublic void write(int b)
PrintStream 内の writeb - 書き込まれるバイトPrintStream.print(char),
PrintStream.println(char)
public void write(byte[] b,
int off,
int len)
PrintStream 内の writeb - バイト配列off - バイトの取り込み開始オフセットlen - 書き込まれるバイト数public String toString()
Object 内の toStringpublic static int parseLevel(String s)
s - ログレベルの名前 (たとえば「SILENT」、「BRIEF」、「VERBOSE」)
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.