net.sf.extjwnl
Class JWNL.OS
java.lang.Object
net.sf.extjwnl.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 testOS)
- Returns true if testOS is a version of this OS. For example, calling
WINDOWS.matches("Windows 95") returns true.
- Parameters:
testOS
- OS string
- Returns:
- true if testOS is a version of this OS
Copyright © 2011. All Rights Reserved.