net.didion.jwnl
Class JWNL.OS

java.lang.Object
  extended by net.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.


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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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.