Uses of Class
technology.tabula.TextChunk
| Package | Description |
|---|---|
| technology.tabula |
-
Uses of TextChunk in technology.tabula
Fields in technology.tabula declared as TextChunk Modifier and Type Field Description static TextChunkTextChunk. EMPTYMethods in technology.tabula that return TextChunk Modifier and Type Method Description TextChunkTextChunk. groupByDirectionality(Boolean isLtrDominant)Splits a TextChunk into N TextChunks, where each chunk is of a single directionality, and then reverse the RTL ones.TextChunkTextChunk. merge(TextChunk other)TextChunk[]TextChunk. splitAt(int i)Splits a TextChunk in two, at the position of the i-th TextElementMethods in technology.tabula that return types with arguments of type TextChunk Modifier and Type Method Description List<TextChunk>Line. getTextElements()static List<TextChunk>TextElement. mergeWords(List<TextElement> textElements)static List<TextChunk>TextElement. mergeWords(List<TextElement> textElements, List<Ruling> verticalRulings)heuristically merge a list of TextElement into a list of TextChunk ported from from PDFBox's PDFTextStripper.writePage, with modifications.List<TextChunk>TextChunk. squeeze(Character c, int minRunLength)Removes runs of identical TextElements in this TextChunk For example, if the TextChunk contains this string of characters: "1234xxxxx56xx" and c == 'x' and minRunLength == 4, this method will return a list of TextChunk such that: ["1234", "56xx"]Methods in technology.tabula with parameters of type TextChunk Modifier and Type Method Description voidLine. addTextChunk(int i, TextChunk textChunk)voidLine. addTextChunk(TextChunk textChunk)TextChunkTextChunk. merge(TextChunk other)Method parameters in technology.tabula with type arguments of type TextChunk Modifier and Type Method Description static booleanTextChunk. allSameChar(List<TextChunk> textChunks)static List<Line>TextChunk. groupByLines(List<TextChunk> textChunks)voidLine. setTextElements(List<TextChunk> textChunks)