BowlerKernel
java-bowler
src
main
java
com
neuronrobotics
sdk
common
SDKInfo.java
Go to the documentation of this file.
1
/*******************************************************************************
2
* Copyright 2010 Neuron Robotics, LLC
3
* Licensed under the Apache License, Version 2.0 (the "License");
4
* you may not use this file except in compliance with the License.
5
* You may obtain a copy of the License at
6
*
7
* http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
******************************************************************************/
15
package
com.neuronrobotics.sdk.common;
16
17
// TODO: Auto-generated Javadoc
18
24
@Deprecated
25
public
class
SDKInfo
{
26
28
//public static final boolean isVM64bit = (System.getProperty("sun.arch.data.model").indexOf("64") != -1);
29
31
public
static
final
boolean
isOS64bit
= (System.getProperty(
"os.arch"
).indexOf(
"x86_64"
) != -1);
32
34
public
static
final
boolean
isLinux
= (System.getProperty(
"os.name"
).toLowerCase().indexOf(
"linux"
)!=-1);
35
37
public
static
final
boolean
isWindows
= (System.getProperty(
"os.name"
).toLowerCase().indexOf(
"win"
)!=-1);
38
40
public
static
final
boolean
isMac
= (System.getProperty(
"os.name"
).toLowerCase().indexOf(
"mac"
)!=-1);
41
43
public
static
boolean
isUnix
=(
isLinux
||
isMac
);
44
45
}
com.neuronrobotics.sdk.common.SDKInfo
Definition:
SDKInfo.java:25
com.neuronrobotics.sdk.common.SDKInfo.isUnix
static boolean isUnix
Definition:
SDKInfo.java:43
com.neuronrobotics.sdk.common.SDKInfo.isLinux
static final boolean isLinux
Definition:
SDKInfo.java:34
com.neuronrobotics.sdk.common.SDKInfo.isOS64bit
static final boolean isOS64bit
Definition:
SDKInfo.java:31
com.neuronrobotics.sdk.common.SDKInfo.isWindows
static final boolean isWindows
Definition:
SDKInfo.java:37
com.neuronrobotics.sdk.common.SDKInfo.isMac
static final boolean isMac
Definition:
SDKInfo.java:40
Generated by
1.9.1