Package | Description |
---|---|
org.apache.zookeeper.common |
Modifier and Type | Method and Description |
---|---|
static KeyStoreFileType |
KeyStoreFileType.fromFilename(String filename)
Detects the type of KeyStore / TrustStore file from the file extension.
|
static KeyStoreFileType |
KeyStoreFileType.fromPropertyValue(String propertyValue)
Converts a property value to a StoreFileType enum.
|
static KeyStoreFileType |
KeyStoreFileType.fromPropertyValueOrFileName(String propertyValue,
String filename)
If
propertyValue is not null or empty, returns the result
of KeyStoreFileType.fromPropertyValue(propertyValue) . |
static KeyStoreFileType |
KeyStoreFileType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyStoreFileType[] |
KeyStoreFileType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.