StringScheme
data class StringScheme(var myName: String = DEFAULT_NAME, var minLength: Int = DEFAULT_MIN_LENGTH, var maxLength: Int = DEFAULT_MAX_LENGTH, var enclosure: String = DEFAULT_ENCLOSURE, var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, var prefix: String = DEFAULT_PREFIX, var suffix: String = DEFAULT_SUFFIX, var serializedSymbolSets: Map<String, String> = DEFAULT_SYMBOL_SETS.toMap(), var serializedActiveSymbolSets: Map<String, String> = DEFAULT_ACTIVE_SYMBOL_SETS.toMap(), var excludeLookAlikeSymbols: Boolean = DEFAULT_EXCLUDE_LOOK_ALIKE_SYMBOLS) : Scheme<StringScheme> (source)
Contains settings for generating random strings.
See also
Constructors
Link copied to clipboard
fun StringScheme(myName: String = DEFAULT_NAME, minLength: Int = DEFAULT_MIN_LENGTH, maxLength: Int = DEFAULT_MAX_LENGTH, enclosure: String = DEFAULT_ENCLOSURE, capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, prefix: String = DEFAULT_PREFIX, suffix: String = DEFAULT_SUFFIX, serializedSymbolSets: Map<String, String> = DEFAULT_SYMBOL_SETS.toMap(), serializedActiveSymbolSets: Map<String, String> = DEFAULT_ACTIVE_SYMBOL_SETS.toMap(), excludeLookAlikeSymbols: Boolean = DEFAULT_EXCLUDE_LOOK_ALIKE_SYMBOLS)
Types
Functions
Link copied to clipboard
Returns a copy of this scheme that has the given name.
Link copied to clipboard
Shallowly copies the state of other into this
.
Link copied to clipboard
Properties
Link copied to clipboard
A list view of the SymbolSet
objects described by activeSymbolSets.
Link copied to clipboard
Same as activeSymbolSets, except that serialized emoji have been deserialized.
Link copied to clipboard
Link copied to clipboard
Whether the symbols in SymbolSet.lookAlikeCharacters should be excluded.
Link copied to clipboard
The symbol sets that are actually used for generating strings; a subset of symbolSets. Emoji have been serialized for compatibility with JetBrains' serializer.
Link copied to clipboard
A list view of the SymbolSet
objects described by symbolSets.
Link copied to clipboard
Same as symbolSets, except that serialized emoji have been deserialized.