net.didion.jwnl
Class JWNL.OS
java.lang.Object
net.didion.jwnl.JWNL.OS
- Enclosing class:
- JWNL
public static final class JWNL.OS
- extends Object
Used to create constants that represent the major categories of operating systems.
JWNL.OS
protected JWNL.OS(String name)
toString
public String toString()
- Overrides:
toString in class Object
matches
public boolean matches(String test)
- Returns true if testOS is a version of this OS. For example, calling
WINDOWS.matches("Windows 95") returns true.
Copyright © 2011. All Rights Reserved.