com.kuka.common
Class SystemProperties

java.lang.Object
  extended by com.kuka.common.SystemProperties

public final class SystemProperties
extends Object

This class represents the system properties.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Method Summary
static File getTemporaryDirectory(String subPath)
          Queries for the temporary property folder and adds the comited sub path.
static boolean is64BitSystem()
          Queries whether the operating system is 64 Bit or not.
static boolean isWindows()
          Queries for the operating system.
static boolean isWindows7()
          Queries for the operating system.
static boolean isWindowsServer()
          Queries for the operating system.
static boolean isWindowsServer2003()
          Queries for the operating system.
static boolean isWindowsXP()
          Queries for the operating system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isWindows

public static boolean isWindows()
Queries for the operating system.

Returns:
True if the operating system is windows

isWindows7

public static boolean isWindows7()
Queries for the operating system.

Returns:
True if the operating system is windows 7

is64BitSystem

public static boolean is64BitSystem()
Queries whether the operating system is 64 Bit or not.
WARNING: This only works on Windows Systems!

Returns:
true, if the operation system is a 64 Bit system.

isWindowsServer

public static boolean isWindowsServer()
Queries for the operating system.

Returns:
True if the operating system is windows server

isWindowsServer2003

public static boolean isWindowsServer2003()
Queries for the operating system.

Returns:
True if the operating system is windows server 2003

isWindowsXP

public static boolean isWindowsXP()
Queries for the operating system.

Returns:
True if the operating system is windowsXP

getTemporaryDirectory

public static File getTemporaryDirectory(String subPath)
Queries for the temporary property folder and adds the comited sub path.

Parameters:
subPath - Relative path inside the temporary property folder
Returns:
The absolute path


Copyright © 2019. All rights reserved.