public abstract class NativePlatformFactory extends Object
Constructor and Description |
---|
NativePlatformFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract NativePlatform |
createNativePlatform()
Creates a NativePlatform.
|
protected abstract int |
getMajorVersion()
Queries the major version number supported by this NativePlatformFactory.
|
protected abstract int |
getMinorVersion()
Queries the minor version number supported by this NativePlatformFactory.
|
static NativePlatform |
getNativePlatform()
Obtains a NativePlatform that matches the platform on which we are running.
|
protected abstract boolean |
matches()
Checks whether this NativePlatformFactory can work with the platform on
which we are running
|
protected abstract boolean matches()
protected abstract NativePlatform createNativePlatform()
protected abstract int getMajorVersion()
protected abstract int getMinorVersion()
public static NativePlatform getNativePlatform()
Copyright © 2020. All rights reserved.