|
VIBE v5.1.6
Search Engine
|
Static Public Member Functions | |
| static void | writeIndent (Writer writer, int indent) throws IOException |
| static void | writeIndent (String element, Writer writer, int indent) throws IOException |
| static void | writeQuote (String element, Writer writer, int indent) throws IOException |
| static void | writeArray (Collection<? extends Number > elements, Writer writer, int indent) throws IOException |
| static void | writeArray (Collection<? extends Number > elements, Path path) throws IOException |
| static String | writeArray (Collection<? extends Number > elements) |
| static void | writeObject (Map< String, ? extends Number > elements, Writer writer, int indent) throws IOException |
| static void | writeObject (Map< String, ? extends Number > elements, Path path) throws IOException |
| static String | writeObject (Map< String, ? extends Number > elements) |
| static void | writeObjectArrays (Map< String, ? extends Collection<? extends Number > > elements, Writer writer, int indent) throws IOException |
| static void | writeObjectArrays (Map< String, ? extends Collection<? extends Number > > elements, Path path) throws IOException |
| static String | writeObjectArrays (Map< String, ? extends Collection<? extends Number > > elements) |
| static void | writeArrayObjects (Collection<? extends Map< String, ? extends Number > > elements, Writer writer, int indent) throws IOException |
| static void | writeArrayObjects (Collection<? extends Map< String, ? extends Number > > elements, Path path) throws IOException |
| static String | writeArrayObjects (Collection<? extends Map< String, ? extends Number > > elements) |
| static String | writeIndex (Map< String, ? extends Map< String, ? extends Set<? extends Number > > > index) |
| static void | writeIndex (Map< String, ? extends Map< String, ? extends Set<? extends Number > > > index, Path path) throws IOException |
| static void | writeIndex (Map< String, ? extends Map< String, ? extends Set<? extends Number > > > index, Writer writer, int indent) throws IOException |
| static String | writeSearch (Map< String, ? extends Collection< InvertedIndex.Score > > searchMap) |
| static void | writeSearch (Map< String, ? extends Collection< InvertedIndex.Score > > searchMap, Path path) throws IOException |
| static void | writeSearch (Map< String, ? extends Collection< InvertedIndex.Score > > searchMap, Writer writer, int indent) throws IOException |
| static void | writeScore (Writer writer, int indent, InvertedIndex.Score map) throws IOException |
| static void | writeScores (Writer writer, int indent, Collection< InvertedIndex.Score > scores) throws IOException |
Outputs several simple data structures in "pretty" JSON format where newlines are used to separate elements and nested elements are indented using spaces.
Warning: This class is not thread-safe. If multiple threads access this class concurrently, access must be synchronized externally.
|
static |
Returns the elements as a pretty JSON array.
| elements | the elements to use |
String containing the elements in pretty JSON format
|
static |
Writes the elements as a pretty JSON array to file.
| elements | the elements to write |
| path | the file path to use |
| IOException | if an IO error occurs |
|
static |
Writes the elements as a pretty JSON array.
| elements | the elements to write |
| writer | the writer to use |
| indent | the initial indent level; the first bracket is not indented, inner elements are indented by one, and the last bracket is indented at the initial indentation level |
| IOException | if an IO error occurs |
|
static |
Returns the elements as a pretty JSON array with nested objects.
| elements | the elements to use |
String containing the elements in pretty JSON format
|
static |
Writes the elements as a pretty JSON array with nested objects to file.
| elements | the elements to write |
| path | the file path to use |
| IOException | if an IO error occurs |
|
static |
Writes the elements as a pretty JSON array with nested objects. The generic notation used allows this method to be used for any type of collection with any type of nested map of String keys to number objects.
| elements | the elements to write |
| writer | the writer to use |
| indent | the initial indent level; the first bracket is not indented, inner elements are indented by one, and the last bracket is indented at the initial indentation level |
| IOException | if an IO error occurs |
|
static |
Indents and then writes the String element.
| element | the element to write |
| writer | the writer to use |
| indent | the number of times to indent |
| IOException | if an IO error occurs |
|
static |
Indents the writer by the specified number of times. Does nothing if the indentation level is 0 or less.
| writer | the writer to use |
| indent | the number of times to indent |
| IOException | if an IO error occurs |
|
static |
Writes InvertedIndex as a pretty JSON.
| index | InvertedIndex |
|
static |
Writes InvertedIndex as a pretty JSON.
| index | InvertedIndex |
| path | path of output file. |
| IOException | if BufferedWriter error. |
|
static |
Writes InvertedIndex as a pretty JSON
| index | InvertedIndex |
| writer | Writer |
| indent | indent value |
| IOException | if writer error. |
|
static |
Returns the elements as a pretty JSON object.
| elements | the elements to use |
String containing the elements in pretty JSON format
|
static |
Writes the elements as a pretty JSON object to file.
| elements | the elements to write |
| path | the file path to use |
| IOException | if an IO error occurs |
|
static |
Writes the elements as a pretty JSON object.
| elements | the elements to write |
| writer | the writer to use |
| indent | the initial indent level; the first bracket is not indented, inner elements are indented by one, and the last bracket is indented at the initial indentation level |
| IOException | if an IO error occurs |
|
static |
Returns the elements as a pretty JSON object with nested arrays.
| elements | the elements to use |
String containing the elements in pretty JSON format
|
static |
Writes the elements as a pretty JSON object with nested arrays to file.
| elements | the elements to write |
| path | the file path to use |
| IOException | if an IO error occurs |
|
static |
Writes the elements as a pretty JSON object with nested arrays. The generic notation used allows this method to be used for any type of map with any type of nested collection of number objects.
| elements | the elements to write |
| writer | the writer to use |
| indent | the initial indent level; the first bracket is not indented, inner elements are indented by one, and the last bracket is indented at the initial indentation level |
| IOException | if an IO error occurs |
|
static |
Indents and then writes the text element surrounded by " " quotation marks.
| element | the element to write |
| writer | the writer to use |
| indent | the number of times to indent |
| IOException | if an IO error occurs |
|
static |
Writes the score map to writer.
| writer | writer |
| indent | indent value |
| map | scoreMap |
| IOException | if the writing fails. |
|
static |
Writes a collection of scores in pretty JSON
| writer | Writer |
| indent | indentation |
| scores | Collection of scores |
| IOException | if the writing fails. |
|
static |
Writes search results in pretty Json
| searchMap | search results map |
|
static |
Writes search results in pretty Json
| searchMap | search results map |
| path | output file. |
| IOException | if unable to write to file. |
|
static |
Writes Search Results in pretty Json
| searchMap | Search results |
| writer | writer |
| indent | indent value |
| IOException | if unable to write to path. |