Class OSInfo.Windows.ServicePack

  • Enclosing class:
    OSInfo.Windows

    public static final class OSInfo.Windows.ServicePack
    extends java.lang.Object
    Returns the service pack information of the operating system running on this Computer.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int Number()
      Returns the service pack information of the operating system running on this Computer.
      static java.lang.String String()
      Returns the service pack information of the operating system running on this Computer.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • String

        public static java.lang.String String()
                                       throws java.io.IOException,
                                              java.lang.InterruptedException
        Returns the service pack information of the operating system running on this Computer.
        Returns:
        A String containing the operating system service pack information
        Throws:
        java.io.IOException - if error occurs
        java.lang.InterruptedException - if command is interrupted
      • Number

        public static int Number()
        Returns the service pack information of the operating system running on this Computer.
        Returns:
        A int containing the operating system service pack number