public final class StsUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FILENAME
Default filename to use for the properties file.
|
Modifier and Type | Method and Description |
---|---|
static @NonNull StsStorageManager |
getDefaultStorageManager()
Gets the default storage implementation using a file in the home directory.
|
static @NonNull StsStorageManager |
getDefaultStorageManager(@NonNull Path stsFile)
Gets the default storage implementation using an alternative file.
|
static @NonNull StsPolicy |
getStsPolicyFromString(@NonNull String delimiter,
@NonNull String str)
Takes a string like "foo,bar=cat,kitten=dog" and returns an STSPolicy instance.
|
public static final String DEFAULT_FILENAME
public static @NonNull StsStorageManager getDefaultStorageManager()
public static @NonNull StsStorageManager getDefaultStorageManager(@NonNull Path stsFile)
stsFile
- File instancepublic static @NonNull StsPolicy getStsPolicyFromString(@NonNull String delimiter, @NonNull String str)
delimiter
- delimiter for between components. E.g. a commastr
- the whole stringCopyright © 2013–2021 Kitteh. All rights reserved.