|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectorg.bootchart.common.Common
public class Common
Common methods.
| 入れ子のクラスの概要 | |
|---|---|
static class |
Common.LogFileFilter
File name filter for bootchart log files. |
| フィールドの概要 | |
|---|---|
static Locale |
LOCALE
Default locale. |
static int |
MAX_PARSE_SAMPLES
The maximum number of samples to parse. |
static List |
PROC_PARAM
A list of processes which should include parameters in their command lines. |
static String |
VERSION
Program version. |
| コンストラクタの概要 | |
|---|---|
Common()
|
|
| メソッドの概要 | |
|---|---|
static String |
formatCommand(String cmd)
Format the specified command line. |
static String |
getProcessDesc(Process proc,
Date startTime)
Returns the text to include in the process description pop-up. |
static BufferedReader |
getReader(InputStream is)
Returns a buffered reader suitable for reading the input stream. |
static boolean |
isPNGSupported()
Whether the running JVM supports PNG encoding. |
static String |
loadFile(File file)
Loads the contents of the file. |
static double |
parseDouble(String s)
Returns a new double initialized to the value
represented by the specified String. |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final String VERSION
public static final Locale LOCALE
public static final List PROC_PARAM
public static final int MAX_PARSE_SAMPLES
| コンストラクタの詳細 |
|---|
public Common()
| メソッドの詳細 |
|---|
public static String loadFile(File file)
throws IOException
file - the file to read
IOException - if an I/O error occurs
public static BufferedReader getReader(InputStream is)
throws IOException
is - input stream to read
IOException - if an I/O error occurspublic static double parseDouble(String s)
double initialized to the value
represented by the specified String. Any decimal commas
in the string are replaced with dots.
s - the string to be parsed
public static String formatCommand(String cmd)
cmd - command line
public static String getProcessDesc(Process proc,
Date startTime)
proc - the process to get description forstartTime - process tree start time
public static boolean isPNGSupported()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||