|
install4j API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.install4j.api.SystemInfo
public class SystemInfo
The class contains utility functions to get information about the current system that is not available via the Java API.
| Constructor Summary | |
|---|---|
SystemInfo()
|
|
| Method Summary | |
|---|---|
static long |
getFreeDiskSpace(java.io.File file)
Retrieves the free disk space for the disk containing the given file on Windows, OS X and Linux. |
static long |
getPhysicalMemory()
Retrieves the physical memory on Windows, OS X and Linux. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemInfo()
| Method Detail |
|---|
public static long getFreeDiskSpace(java.io.File file)
file - the file or directory to check the disk space for
public static long getPhysicalMemory()
|
install4j API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||