Tabnine Logo
OS.isFamily
Code IndexAdd Tabnine to your IDE (free)

How to use
isFamily
method
in
org.apache.commons.exec.OS

Best Java code snippets using org.apache.commons.exec.OS.isFamily (Showing top 12 results out of 315)

origin: org.apache.commons/commons-exec

public static boolean isFamilyWindows() {
  return isFamily(FAMILY_WINDOWS);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyOS2() {
  return isFamily(FAMILY_OS_2);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyOpenVms() {
  return isFamily(FAMILY_OPENVMS);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyMac() {
  return isFamily(FAMILY_MAC);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyOS400() {
  return isFamily(FAMILY_OS_400);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyNetware() {
  return isFamily(FAMILY_NETWARE);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyTandem() {
  return isFamily(FAMILY_TANDEM);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyDOS() {
  return isFamily(FAMILY_DOS);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyUnix() {
  return isFamily(FAMILY_UNIX);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyWin9x() {
  return isFamily(FAMILY_WIN9X);
}
origin: org.apache.commons/commons-exec

public static boolean isFamilyZOS() {
  return isFamily(FAMILY_Z_OS);
}
origin: org.apache.commons/commons-exec

} else if (family.equals(FAMILY_DOS)) {
  isFamily = PATH_SEP.equals(";")
      && !isFamily(FAMILY_NETWARE);
} else if (family.equals(FAMILY_MAC)) {
  isFamily = OS_NAME.indexOf(FAMILY_MAC) > -1;
} else if (family.equals(FAMILY_UNIX)) {
  isFamily = PATH_SEP.equals(":")
      && !isFamily(FAMILY_OPENVMS)
      && (!isFamily(FAMILY_MAC) || OS_NAME.endsWith("x"));
} else if (family.equals(FAMILY_WIN9X)) {
  isFamily = isFamily(FAMILY_WINDOWS)
      && (OS_NAME.indexOf("95") >= 0
          || OS_NAME.indexOf("98") >= 0
org.apache.commons.execOSisFamily

Javadoc

Determines if the OS on which Ant is executing matches the given OS family. * Possible values:
  • dos
  • mac
  • netware
  • os/2
  • tandem
  • unix
  • windows
  • win9x
  • z/os
  • os/400

Popular methods of OS

  • isFamilyWindows
  • isFamilyMac
  • isFamilyUnix
  • isOs
    Determines if the OS on which Ant is executing matches the given OS family, name, architecture and v
  • isFamilyDOS
  • isFamilyOpenVms
  • isFamilyWin9x

Popular in Java

  • Reactive rest calls using spring rest template
  • getApplicationContext (Context)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • JFrame (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now