class StringSettings : Settings<StringSettings>
Contains settings for generating random strings.
See Also
StringSettings()
Contains settings for generating random strings. |
var alphabets: MutableSet<Alphabet>
The alphabets to be used for generating strings. |
|
var capitalization: CapitalizationMode
The capitalization mode of the generated string. |
|
var enclosure: String
The string that encloses the generated string on both sides. |
|
var maxLength: Int
The maximum length of the generated string, inclusive. |
|
var minLength: Int
The minimum length of the generated string, inclusive. |
fun getState(): StringSettings
Returns |
|
fun loadState(state: StringSettings): Unit
Copies the fields of state to |
val default: StringSettings
The persistent |
|
val DEFAULT_CAPITALIZATION: CapitalizationMode
The default value of the capitalization field. |
|
const val DEFAULT_ENCLOSURE: String
The default value of the enclosure field. |
|
const val DEFAULT_MAX_LENGTH: Int
The default value of the maxLength field. |
|
const val DEFAULT_MIN_LENGTH: Int
The default value of the minLength field. |