Class 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.
    • Constructor Detail

      • OS

        protected OS​(String name)
    • Method Detail

      • 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.