2004.04.29


com.jdc.app.user
Class OperatingSystem

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.lang.SerializableObject
              |
              +--com.jdc.app.user.OperatingSystem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HttpOperatingSystem

public abstract class OperatingSystem
extends SerializableObject

OperatingSystem contains all available information regarding the user's operating system.

Version:
1.0
Author:
Jay Damon
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jdc.lang.Object
string
 
Constructor Summary
OperatingSystem()
          Constructs a new OperatingSystem object.
 
Method Summary
 String getName()
          Returns the operating system name.
 boolean isMacintosh()
          Returns true if the operating system is Macintosh.
abstract  boolean isOperatingSystem(String operatingSystem)
          Returns true if the operating system is the specified operating system.
 boolean isWindows()
          Returns true if the operating system is Windows (any variant).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperatingSystem

public OperatingSystem()
Constructs a new OperatingSystem object.

Method Detail

getName

public String getName()
Returns the operating system name.

Returns:
String

isMacintosh

public boolean isMacintosh()
Returns true if the operating system is Macintosh.

Returns:
boolean

isOperatingSystem

public abstract boolean isOperatingSystem(String operatingSystem)
Returns true if the operating system is the specified operating system.

Returns:
boolean

isWindows

public boolean isWindows()
Returns true if the operating system is Windows (any variant).

Returns:
boolean

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.