This method should return a platform exactly matching the specified name and version if available. However, if such platform is not available, it might return one with a higher version number. As last resort it might even return one with a lower version number in hope that the user only uses features available in the chosen platform. @param name the name of the platform to be looked up. This argumentcannot be {@code null}. In almost all cases the returned platform should have the same name as specified in this argument (though not strictly required). @param version the version of the platform to be looked up. This argumentcannot be {@code null}. The returned platform should have the same version as given in this argument if possible. This method however should not throw an exception regardless what the version string may contain. @return a platform best matching the given name and version or{@code null} if there is no reasonable match @see ProjectPlatform#getName() @see ProjectPlatform#getVersion()
|
|