1.0.0

org.eclipse.soda.dk.nls
Class Os

java.lang.Object
  extended by org.eclipse.soda.dk.nls.Os

public class Os
extends java.lang.Object

Version:
1.0.0

Constructor Summary
Os()
          Constructor for Os.
 
Method Summary
static java.lang.String getName(java.lang.Class aclass, java.lang.String name, java.lang.String extension)
          Method getName.
static java.lang.String[] getOsAdditions()
          Gets the Os Additions.
static java.lang.String getOsArch()
          Returns the OsArch.
static java.lang.String getOsName()
          Returns the OsName.
static java.util.Hashtable getProperties(java.lang.Class aclass, java.lang.String name)
          Method getProperties.
static java.net.URL getUrl(java.lang.Class aclass, java.lang.String name, java.lang.String extension)
          Method getUrl.
static boolean isLinux()
          Return true if the current operating system is Linux.
static boolean isNeutrino()
          Return true if the current operating system is Neutrino.
static boolean isWindows()
          Return true if the current operating system is Windows.
static boolean isWindowsCe()
          Return true if the current operating system is Windows.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Os

public Os()
Constructor for Os.

Method Detail

getName

public static java.lang.String getName(java.lang.Class aclass,
                                       java.lang.String name,
                                       java.lang.String extension)
Method getName.

Parameters:
aclass - The class root for the resouce.
name - The name of the resouce.
extension - Extension including the dot.
Returns:
Results of the get name (String) value.
See Also:
getOsName()

getOsAdditions

public static java.lang.String[] getOsAdditions()
Gets the Os Additions.

Returns:
Results of the get os additions (String[]) value.

getOsArch

public static java.lang.String getOsArch()
Returns the OsArch.

Returns:
Results of the get os arch (String) value.

getOsName

public static java.lang.String getOsName()
Returns the OsName.

Returns:
Results of the get os name (String) value.

getProperties

public static java.util.Hashtable getProperties(java.lang.Class aclass,
                                                java.lang.String name)
Method getProperties.

Parameters:
aclass - The aclass (Class) parameter.
name - The name (String) parameter.
Returns:
Results of the get properties (Hashtable) value.

getUrl

public static java.net.URL getUrl(java.lang.Class aclass,
                                  java.lang.String name,
                                  java.lang.String extension)
Method getUrl.

Parameters:
aclass - The aclass (Class) parameter.
name - The name (String) parameter.
extension - The extension (String) parameter.
Returns:
Results of the get url (URL) value.

isLinux

public static boolean isLinux()
Return true if the current operating system is Linux.

Returns:
Results of the is linux (boolean) value.

isNeutrino

public static boolean isNeutrino()
Return true if the current operating system is Neutrino.

Returns:
Results of the is neutrino (boolean) value.

isWindows

public static boolean isWindows()
Return true if the current operating system is Windows.

Returns:
Results of the is windows (boolean) value.

isWindowsCe

public static boolean isWindowsCe()
Return true if the current operating system is Windows.

Returns:
Results of the is windows ce (boolean) value.

1.0.0

Copyright (c) 1999, 2007 IBM