Packagesystem.hosts
Classpublic class OperatingSystem
InheritanceOperatingSystem Inheritance Object

Represents information about an operating system, such as the version and platform identifier. This class cannot be inherited.



Public Properties
 PropertyDefined By
  platform : PlatformID
[read-only] Returns the platform id of this operating system.
OperatingSystem
  signature : String
[read-only] Returns the signature of this operating system.
OperatingSystem
  version : Version
[read-only] Returns the version of this operating system.
OperatingSystem
Public Methods
 MethodDefined By
  
OperatingSystem(platform:PlatformID, version:Version, signature:String)
Creates a new OperatingSystem instance.
OperatingSystem
  
toString():String
Returns the String representation of the object.
OperatingSystem
Property Detail
platformproperty
platform:PlatformID  [read-only]

Returns the platform id of this operating system.


Implementation
    public function get platform():PlatformID
signatureproperty 
signature:String  [read-only]

Returns the signature of this operating system.


Implementation
    public function get signature():String
versionproperty 
version:Version  [read-only]

Returns the version of this operating system.


Implementation
    public function get version():Version
Constructor Detail
OperatingSystem()Constructor
public function OperatingSystem(platform:PlatformID, version:Version, signature:String)

Creates a new OperatingSystem instance.

Parameters
platform:PlatformID — The PlatformID of the application operating system.
 
version:Version — The Version of the application operating system.
 
signature:String
Method Detail
toString()method
public function toString():String

Returns the String representation of the object.

Returns
String — the String representation of the object.