public class Platform extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static boolean |
isAndroid |
static boolean |
isGroovyAvailable |
static boolean |
isWindows |
static int |
JAVA_VERSION_INT |
static String |
processId |
| 构造器和说明 |
|---|
Platform() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
equals(byte[] bytes1,
int startPos1,
byte[] bytes2,
int startPos2,
int length) |
static File |
getTempDirectory()
Returns a
File representing the system temporary directory. |
static String |
getTempDirectoryPath()
Returns the path to the system temporary directory.
|
static File |
getUserHomeDirectory()
Returns a
File representing the user's home directory. |
static String |
getUserHomeDirectoryPath()
Returns the path to the user's home directory.
|
public static boolean isWindows
public static int JAVA_VERSION_INT
public static boolean isAndroid
public static boolean isGroovyAvailable
public static String processId
public static boolean equals(byte[] bytes1,
int startPos1,
byte[] bytes2,
int startPos2,
int length)
public static String getTempDirectoryPath()
public static File getTempDirectory()
File representing the system temporary directory.public static String getUserHomeDirectoryPath()
Copyright © 2019. All rights reserved.