public class DictionarySectionCacheAll extends Object implements DictionarySectionPrivate
| Constructor and Description |
|---|
DictionarySectionCacheAll(DictionarySectionPrivate child,
boolean preload) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CharSequence |
extract(long pos) |
long |
getNumberOfElements() |
Iterator<? extends CharSequence> |
getSortedEntries() |
void |
load(InputStream input,
ProgressListener listener)
Load dictionary section from a stream.
|
void |
load(TempDictionarySection other,
ProgressListener listener)
Load entries from another dictionary section.
|
long |
locate(CharSequence s) |
void |
save(OutputStream output,
ProgressListener listener)
Serialize dictionary section to a stream.
|
long |
size() |
public DictionarySectionCacheAll(DictionarySectionPrivate child, boolean preload)
public long locate(CharSequence s)
locate in interface DictionarySectionpublic final CharSequence extract(long pos)
extract in interface DictionarySectionpublic long size()
size in interface DictionarySectionpublic long getNumberOfElements()
getNumberOfElements in interface DictionarySectionpublic Iterator<? extends CharSequence> getSortedEntries()
getSortedEntries in interface DictionarySectionpublic void save(OutputStream output, ProgressListener listener) throws IOException
DictionarySectionPrivatesave in interface DictionarySectionPrivateIOExceptionpublic void load(InputStream input, ProgressListener listener) throws IOException
DictionarySectionPrivateload in interface DictionarySectionPrivateIOExceptionpublic void load(TempDictionarySection other, ProgressListener listener)
DictionarySectionPrivateload in interface DictionarySectionPrivatepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 DataWeb Research. All rights reserved.