Interface | Description |
---|---|
FileProcessor.ErrorHandler |
Handles error, and decides whether to continue processing or not.
|
FileProcessor.FileHandler | |
MainThreadExecutorService.RejectedExecutionHandler | |
TarGzipReader.FileHandler |
Handles a file inside the .tar.gz archive.
|
ThreadPauser |
Class | Description |
---|---|
ArrayUtil | |
CollUtil | |
CountingReader |
A Reader decorator that keeps track of the number of characters read.
|
FileProcessor |
Process (trees of) files, which may include archives that we want to
recursively process as well.
|
FileProcessor.SimpleErrorHandler |
Simple error handler that reports errors and can abort or continue.
|
FileUtil |
Utilities for working with files
|
FileUtil.FileTask |
A task to execute on a file.
|
Json |
Supports reading/writing JSON and YAML files.
|
LogUtil |
Utilities for log4j logging.
|
LuceneUtil | |
MainThreadExecutorService |
Mock executorService that actually just runs all submitted tasks on the main
thread.
|
SimpleResourcePool<T> |
Keeps a simple pool of free resource objects.
|
StringUtil |
A collection of String-related utility methods and regular expression
patterns.
|
TarGzipReader |
Class for handling .tar.gz input streams.
|
ThreadPauserImpl |
Allows us to pause the thread.
|
Timer |
Simple class for measuring elapsed time.
|
TimeUtil | |
UnicodeStream |
InputStream that detects and skips BOM in UTF-8 (and other Unicode encodings)
files.
|
VersionFile |
Reads/writes a type/version file for a directory, to indicate the version of
the directory's contents.
|
XmlHighlighter |
Performs highlighting of the contents of XML elements that we found hits in.
|
XmlHighlighter.HitCharSpan |
The start and end character position of a hit, used for highlighting the
content.
|
XmlUtil |
Utilities for working with XML.
|
Enum | Description |
---|---|
XmlHighlighter.UnbalancedTagsStrategy |
How to deal with non-well-formed snippets: by e.g.
|
Miscellaneous utility functions. Will probably be moved out of BlackLab and into a separate library of general-purpose utilities.
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.