public class StringSetProperty extends SetProperty<String>
| Constructor and Description |
|---|
StringSetProperty(String path,
Set<String> defaultValue)
Constructor.
|
StringSetProperty(String path,
String... defaultValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
toExportValue(Set<String> value)
Converts the given value to a representation that is suitable for exporting by a property resource.
|
getFromReader, setCollectordetermineValue, getDefaultValue, getPath, isValidValue, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidInResourcepublic StringSetProperty(String path, String... defaultValue)
path - the path of the propertydefaultValue - the values that make up the entries of the default setpublic Object toExportValue(Set<String> value)
Property
The values which are suitable for returning depend on the support of the used property resource. By default,
the supported types include null, String, Integer, Double, Boolean; Collection of the aforementioned
types; Map with String keys and values of any of the aforementioned types. Maps and collections can be nested at
any arbitrary level. Null signifies that the property/value should be skipped in the export.
toExportValue in interface Property<Set<String>>toExportValue in class SetProperty<String>value - the value to convert to an export valueCopyright © 2016–2021 The AuthMe Team. All rights reserved.