public class JreCompat
extends java.lang.Object
| Constructor and Description |
|---|
JreCompat() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Locale |
forLanguageTag(java.lang.String languageTag) |
static JreCompat |
getInstance() |
boolean |
isInstanceOfInaccessibleObjectException(java.lang.Throwable t)
Test if the provided exception is an instance of
java.lang.reflect.InaccessibleObjectException.
|
static boolean |
isJre7Available() |
static boolean |
isJre8Available() |
static boolean |
isJre9Available() |
void |
setUseServerCipherSuitesOrder(javax.net.ssl.SSLEngine engine,
boolean useCipherSuitesOrder) |
void |
setUseServerCipherSuitesOrder(javax.net.ssl.SSLServerSocket socket,
boolean useCipherSuitesOrder) |
public static JreCompat getInstance()
public static boolean isJre7Available()
public java.util.Locale forLanguageTag(java.lang.String languageTag)
public static boolean isJre8Available()
public void setUseServerCipherSuitesOrder(javax.net.ssl.SSLServerSocket socket,
boolean useCipherSuitesOrder)
public void setUseServerCipherSuitesOrder(javax.net.ssl.SSLEngine engine,
boolean useCipherSuitesOrder)
public static boolean isJre9Available()
public boolean isInstanceOfInaccessibleObjectException(java.lang.Throwable t)
t - The exception to testtrue if the exception is an instance of
InaccessibleObjectException, otherwise falseCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.