All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tk.hongkailiu.test.app.util.SystemUtil Maven / Gradle / Ivy

The newest version!
package tk.hongkailiu.test.app.util;

public class SystemUtil {

    private SystemUtil(){super();}

    public static String getUserDir() {
        // return new java.io.File(".").getCanonicalPath();
        return System.getProperty("user.dir");
    }

    public static String getSystemProperty(String key){
        return System.getProperty(key);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy