Package org.openstreetmap.josm.tools

Examples of org.openstreetmap.josm.tools.PlatformHookOsx


        || os.equals("SunOS") || os.equals("AIX")
        || os.equals("FreeBSD") || os.equals("NetBSD")
        || os.equals("OpenBSD")) {
      platform = new PlatformHookUnixoid();
    } else if (os.toLowerCase().startsWith("mac os x")) {
      platform = new PlatformHookOsx();
    } else {
      System.err.println("I don't know your operating system '" + os
          + "', so I'm guessing its some kind of *nix.");
      platform = new PlatformHookUnixoid();
    }
View Full Code Here


        } else if ("Linux".equals(os) || "Solaris".equals(os) ||
                "SunOS".equals(os) || "AIX".equals(os) ||
                "FreeBSD".equals(os) || "NetBSD".equals(os) || "OpenBSD".equals(os)) {
            platform = new PlatformHookUnixoid();
        } else if (os.toLowerCase().startsWith("mac os x")) {
            platform = new PlatformHookOsx();
        } else {
            warn("I don't know your operating system '"+os+"', so I'm guessing its some kind of *nix.");
            platform = new PlatformHookUnixoid();
        }
    }
View Full Code Here

TOP

Related Classes of org.openstreetmap.josm.tools.PlatformHookOsx

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.