net.didion.jwnl
Class JWNL.OS

java.lang.Object
  extended bynet.didion.jwnl.JWNL.OS
Enclosing class:
JWNL

public static final class JWNL.OS
extends java.lang.Object

Used to create constants that represent the major categories of operating systems.


Constructor Summary
protected JWNL.OS(java.lang.String name)
           
 
Method Summary
 boolean matches(java.lang.String test)
          Returns true if testOS is a version of this OS.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JWNL.OS

protected JWNL.OS(java.lang.String name)
Method Detail

toString

public java.lang.String toString()

matches

public boolean matches(java.lang.String test)
Returns true if testOS is a version of this OS. For example, calling WINDOWS.matches("Windows 95") returns true.




JWNL homepage.