BundledDictionary

class BundledDictionary : Dictionary

A Dictionary of which the underlying file is a resource in the JAR.

Types

Companion
Link copied to clipboard
object Companion
Holds static elements.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Returns true iff this dictionary's filename equals other's filename.
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Returns the hash code of the filename.
isValid
Link copied to clipboard
open fun isValid(): Boolean
Returns true iff validate does not throw an exception.
toString
Link copied to clipboard
open override fun toString(): String
Returns a human-readable string of the dictionary's filename.
validate
Link copied to clipboard
open override fun validate()
Throws an InvalidDictionaryException iff this dictionary is currently invalid.

Properties

filename
Link copied to clipboard
val filename: String
the path to the resource file
words
Link copied to clipboard
open override val words: Set<String>
The words in the dictionary.

Sources

jvm source
Link copied to clipboard