fm.liveswitch.IPlatform Interface Reference

Platform-specific methods. More...

Public Member Functions

abstract fm.liveswitch.Architecture getArchitecture ()
 Gets the current CPU architecture. More...
 
abstract int getCoreCount ()
 Gets the current CPU core count. More...
 
abstract fm.liveswitch.CryptoLibrary getCryptoLibrary ()
 Gets the cryptography library to use. More...
 
abstract String getDirectorySeparator ()
 Gets the character used to separate directories. More...
 
abstract boolean getIsLittleEndian ()
 Gets a value indicating whether this is little-endian platform. More...
 
abstract boolean getIsMobile ()
 Gets a value indicating whether this is a mobile platform. More...
 
abstract String getMachineName ()
 Gets the current machine name. More...
 
abstract fm.liveswitch.OperatingSystem getOperatingSystem ()
 Gets the current operating system. More...
 
abstract String getOperatingSystemVersion ()
 Gets the current operating system version. More...
 
abstract long getPhysicalMemory ()
 Gets the current physical memory in bytes. More...
 
abstract String getPlatformTypeVersion ()
 Gets the current version of the fm.liveswitch.PlatformType being used. More...
 
abstract int getProcessId ()
 Gets the id of the current process. More...
 
abstract fm.liveswitch.SourceLanguage getSourceLanguage ()
 Gets the current programming language for the source code. More...
 
abstract fm.liveswitch.PlatformType getType ()
 Gets the current fm.liveswitch.PlatformType being used. More...
 
abstract boolean getUseFipsAlgorithms ()
 Gets a value that indicates whether FIPS algorithms should be used. More...
 
abstract void setCryptoLibrary (fm.liveswitch.CryptoLibrary value)
 Sets the cryptography library to use. More...
 
abstract void setIsMobile (boolean value)
 Sets a value indicating whether this is a mobile platform. More...
 
abstract void setUseFipsAlgorithms (boolean value)
 Sets a value that indicates whether FIPS algorithms should be used. More...
 
abstract String toString (boolean isVerbose)
 Gets the string representation of the fm.liveswitch.PlatformType and Platform type version, if isVerbose is true then the OS and OS version are included. More...
 

Detailed Description

Platform-specific methods.

Member Function Documentation

◆ getArchitecture()

abstract fm.liveswitch.Architecture fm.liveswitch.IPlatform.getArchitecture ( )
abstract

Gets the current CPU architecture.

Implemented in fm.liveswitch.Platform.

◆ getCoreCount()

abstract int fm.liveswitch.IPlatform.getCoreCount ( )
abstract

Gets the current CPU core count.

Implemented in fm.liveswitch.Platform.

◆ getCryptoLibrary()

abstract fm.liveswitch.CryptoLibrary fm.liveswitch.IPlatform.getCryptoLibrary ( )
abstract

Gets the cryptography library to use.

Implemented in fm.liveswitch.Platform.

◆ getDirectorySeparator()

abstract String fm.liveswitch.IPlatform.getDirectorySeparator ( )
abstract

Gets the character used to separate directories.

Implemented in fm.liveswitch.Platform.

◆ getIsLittleEndian()

abstract boolean fm.liveswitch.IPlatform.getIsLittleEndian ( )
abstract

Gets a value indicating whether this is little-endian platform.

Implemented in fm.liveswitch.Platform.

◆ getIsMobile()

abstract boolean fm.liveswitch.IPlatform.getIsMobile ( )
abstract

Gets a value indicating whether this is a mobile platform.

Implemented in fm.liveswitch.Platform.

◆ getMachineName()

abstract String fm.liveswitch.IPlatform.getMachineName ( )
abstract

Gets the current machine name.

Implemented in fm.liveswitch.Platform.

◆ getOperatingSystem()

abstract fm.liveswitch.OperatingSystem fm.liveswitch.IPlatform.getOperatingSystem ( )
abstract

Gets the current operating system.

Implemented in fm.liveswitch.Platform.

◆ getOperatingSystemVersion()

abstract String fm.liveswitch.IPlatform.getOperatingSystemVersion ( )
abstract

Gets the current operating system version.

Implemented in fm.liveswitch.Platform.

◆ getPhysicalMemory()

abstract long fm.liveswitch.IPlatform.getPhysicalMemory ( )
abstract

Gets the current physical memory in bytes.

Implemented in fm.liveswitch.Platform.

◆ getPlatformTypeVersion()

abstract String fm.liveswitch.IPlatform.getPlatformTypeVersion ( )
abstract

Gets the current version of the fm.liveswitch.PlatformType being used.

Implemented in fm.liveswitch.Platform.

◆ getProcessId()

abstract int fm.liveswitch.IPlatform.getProcessId ( )
abstract

Gets the id of the current process.

Implemented in fm.liveswitch.Platform.

◆ getSourceLanguage()

abstract fm.liveswitch.SourceLanguage fm.liveswitch.IPlatform.getSourceLanguage ( )
abstract

Gets the current programming language for the source code.

Implemented in fm.liveswitch.Platform.

◆ getType()

abstract fm.liveswitch.PlatformType fm.liveswitch.IPlatform.getType ( )
abstract

Gets the current fm.liveswitch.PlatformType being used.

Implemented in fm.liveswitch.Platform.

◆ getUseFipsAlgorithms()

abstract boolean fm.liveswitch.IPlatform.getUseFipsAlgorithms ( )
abstract

Gets a value that indicates whether FIPS algorithms should be used.

Note that not all platforms or third-party libraries are FIPS-compliant, so this should not be used as a guarantee of FIPS compliance.

Implemented in fm.liveswitch.Platform.

◆ setCryptoLibrary()

abstract void fm.liveswitch.IPlatform.setCryptoLibrary ( fm.liveswitch.CryptoLibrary  value)
abstract

Sets the cryptography library to use.

◆ setIsMobile()

abstract void fm.liveswitch.IPlatform.setIsMobile ( boolean  value)
abstract

Sets a value indicating whether this is a mobile platform.

Implemented in fm.liveswitch.Platform.

◆ setUseFipsAlgorithms()

abstract void fm.liveswitch.IPlatform.setUseFipsAlgorithms ( boolean  value)
abstract

Sets a value that indicates whether FIPS algorithms should be used.

Note that not all platforms or third-party libraries are FIPS-compliant, so this should not be used as a guarantee of FIPS compliance.

Implemented in fm.liveswitch.Platform.

◆ toString()

abstract String fm.liveswitch.IPlatform.toString ( boolean  isVerbose)
abstract

Gets the string representation of the fm.liveswitch.PlatformType and Platform type version, if isVerbose is true then the OS and OS version are included.

Implemented in fm.liveswitch.Platform.