public class LocalOfflineKey extends Object
vaadin.offlineKey) if available. Also
capable of writing an offline key but this should not be used except for
testing. Offline keys are always downloaded and stored manually.| Constructor and Description |
|---|
LocalOfflineKey() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<OfflineKey> |
fromString(String key)
Creates a new
OfflineKey based on the given string
representation. |
static OfflineKey |
get()
Finds an offline key, either from a system property or from the home
directory.
|
static File[] |
getLocations() |
public static File[] getLocations()
public static OfflineKey get()
null if no key was foundpublic static Optional<OfflineKey> fromString(String key)
OfflineKey based on the given string
representation.key - The string representation of the offline key.OfflineKey, or an empty Optional if the given
string does not represent a valid offline key.Copyright © 2017-2025. All Rights Reserved.