ページの作成:「System.getProperties [https://docs.oracle.com/javase/jp/8/docs/api/java/lang/System.html#getProperties--]<br> public static Properties getProperties() 現在のシ…」
(相違点なし)

2019年5月31日 (金) 10:18時点における版

System.getProperties [1]
public static Properties getProperties()

現在のシステム・プロパティの一覧を取得します

// 全てのシステム・プロパティを取得
System.out.println(
    System.getProperties().toString().replaceAll(", ", "\n")
);