MCPcopy Create free account

hub / github.com/uniVocity/univocity-parsers / functions

Functions2,653 in github.com/uniVocity/univocity-parsers

↓ 1,354 callersMethodassertEquals
(T[] result, T[] expected)
src/test/java/com/univocity/parsers/csv/TestUtils.java:24
↓ 460 callersMethodgetFormat
The format of the file to be parsed/written (returns the format's defaults). @return The format of the file to be parsed/written
src/main/java/com/univocity/parsers/common/CommonSettings.java:273
↓ 430 callersMethodget
Returns the value associated with the given string. If it doesn't exist, or if it has been evicted, a value will be populated using {@link #process(St
src/main/java/com/univocity/parsers/common/StringCache.java:103
↓ 279 callersMethodsetLineSeparator
Defines the line separator sequence that should be used for parsing and writing. @param lineSeparator a sequence of 1 to 2 characters that identifies
src/main/java/com/univocity/parsers/common/Format.java:105
↓ 231 callersMethodappend
Appends the given character. @param ch the character to append
src/main/java/com/univocity/parsers/common/input/CharAppender.java:69
↓ 193 callersMethodadd
Validates and adds multiple field references @param fields information that uniquely identifies each field @return the set of currently selected field
src/main/java/com/univocity/parsers/common/fields/FieldSet.java:88
↓ 189 callersMethodput
Associates a value to a string @param input the string to be associated with a given value @param value the value associated with the given string
src/main/java/com/univocity/parsers/common/StringCache.java:85
↓ 138 callersMethodparse
(String input, CsvParserSettings settings, String message)
src/test/java/com/univocity/parsers/examples/CsvParserExamples.java:805
↓ 129 callersMethodsetHeaderExtractionEnabled
Defines whether or not the first valid record parsed from the input should be considered as the row containing the names of each column @param header
src/main/java/com/univocity/parsers/common/CommonParserSettings.java:116
↓ 129 callersMethodwriteRow
Writes the data given for an individual record. The output will remain open for further writing. <b>Note</b> this method will not use the {@link RowWr
src/main/java/com/univocity/parsers/common/AbstractWriter.java:751
↓ 113 callersMethodvalueOf
Creates a non-literal {@code NormalizedString}, meaning it will match with other {@code String} or {@code NormalizedString} regardless of different in
src/main/java/com/univocity/parsers/common/NormalizedString.java:186
↓ 112 callersMethodlength
Returns the current accumulated value length (the sum of all appended characters - whitespaceCount). @return the current accumulated value length (the
src/main/java/com/univocity/parsers/common/input/CharAppender.java:134
↓ 106 callersMethodaddField
Adds the range of the next field in a fixed-width record. The given range cannot overlap with previously defined fields. Blanks will be used to fill a
src/main/java/com/univocity/parsers/fixed/FixedWidthFields.java:212
↓ 104 callersMethodparseLine
Parses a single line from a String in the format supported by the parser implementation. @param line a line of text to be parsed @return the values
src/main/java/com/univocity/parsers/common/AbstractParser.java:664
↓ 92 callersMethodclose
()
src/test/java/com/univocity/parsers/issues/github/Github_140.java:54
↓ 86 callersMethodparseAll
Parses all remaining rows from the input and returns them in a list. @param expectedRowCount expected number of rows to be parsed from the input.
src/main/java/com/univocity/parsers/common/AbstractParser.java:490
↓ 85 callersMethodprintAndValidate
Prints a collection of rows to the standard output @param rows A collection of rows to be printed.
src/test/java/com/univocity/parsers/examples/Example.java:52
↓ 81 callersMethodgetObjectValue
(String[] data, String headerName, Class<T> type, T defaultValue)
src/main/java/com/univocity/parsers/common/record/RecordMetaDataImpl.java:373
↓ 79 callersMethodtoString
()
src/test/java/com/univocity/parsers/issues/github/Github_274.java:43
↓ 78 callersMethodtoString
()
src/test/java/com/univocity/parsers/csv/CsvWriterTest.java:509
↓ 77 callersMethodisEmpty
Indicates whether this appender represents an empty {@code String}. @return {@code} true calling {@link #getAndReset()} would return {@code null}, oth
src/main/java/com/univocity/parsers/common/input/CharAppender.java:295
↓ 74 callersMethodsetRowProcessor
Defines the callback implementation of the interface {@link RowProcessor} which handles the lifecycle of the parsing process and processes each record
src/main/java/com/univocity/parsers/common/CommonParserSettings.java:160
↓ 71 callersMethodset
Validates and sets multiple field references. Any existing reference will be discarded. @param fields information that uniquely identifies each field
src/main/java/com/univocity/parsers/common/fields/FieldSet.java:74
↓ 68 callersMethodnextChar
Returns the next character in the input. @return the next character in the input. '\0' if there are no more characters in the input or if the CharInp
src/main/java/com/univocity/parsers/common/input/CharInput.java:33
↓ 68 callersMethodtoString
()
src/test/java/com/univocity/parsers/examples/Car.java:86
↓ 67 callersMethodgetBeans
Returns the list of generated java beans at the end of the parsing process. @return the list of generated java beans at the end of the parsing proces
src/main/java/com/univocity/parsers/common/processor/core/AbstractBeanListProcessor.java:88
↓ 67 callersMethodwriteRowToString
Writes the data given for an individual record to a {@code String}. <b>Note</b> this method will not use the {@link RowWriterProcessor}. Use {@link Ab
src/main/java/com/univocity/parsers/common/AbstractWriter.java:1542
↓ 66 callersMethodclone
Creates a deep copy of this object with all its mappings. Changes to the clone won't affect the original instance. @return a clone of the current mapp
src/main/java/com/univocity/parsers/common/fields/ColumnMapper.java:301
↓ 63 callersMethodsetIgnoreTrailingWhitespaces
Defines whether or not trailing whitespaces from values being read/written should be skipped (defaults to true) @param ignoreTrailingWhitespaces tru
src/main/java/com/univocity/parsers/common/CommonSettings.java:169
↓ 62 callersMethodgetReader
Creates a reader for a resource in the relative path @param relativePath relative path of the resource to be read @return a reader of the resource
src/test/java/com/univocity/parsers/examples/Example.java:39
↓ 59 callersMethodsetProcessor
Defines the callback implementation of the interface {@link Processor} which handles the lifecycle of the parsing process and processes each record ex
src/main/java/com/univocity/parsers/common/CommonParserSettings.java:203
↓ 52 callersMethodgetValue
Returns the value contained in the given column. @param headerName the name of the column whose value will be returned @param expectedType the expe
src/main/java/com/univocity/parsers/common/record/Record.java:93
↓ 52 callersMethodnewReader
Creates a {@link java.io.Reader} from an input stream @param input the input stream @return a {@link java.io.Reader} wrapping the given input stream
src/main/java/com/univocity/parsers/common/ArgumentUtils.java:332
↓ 48 callersMethodbeginParsing
Starts an iterator-style parsing cycle. If a {@link RowProcessor} is provided in the configuration, it will be used to perform additional processing.
src/main/java/com/univocity/parsers/common/AbstractParser.java:248
↓ 48 callersMethodgetContext
Returns the current parsing {@link Context}, if available @return the contextual object with information about an ongoing parsing process
src/main/java/com/univocity/parsers/common/ResultIterator.java:33
↓ 47 callersMethodconvertFields
Associates a sequence of {@link Conversion}s to fields of a given set of fields @param enumType the type of the enumeration whose values represent
src/main/java/com/univocity/parsers/common/record/RecordMetaData.java:170
↓ 46 callersMethodsetHeaders
Defines the field names in the input/output, in the sequence they occur (defaults to null). <p>when reading, the given header names will be used to re
src/main/java/com/univocity/parsers/common/CommonSettings.java:198
↓ 45 callersMethodcharAt
(int index)
src/main/java/com/univocity/parsers/common/NormalizedString.java:119
↓ 44 callersMethodparseNext
Parses the next record from the input. Note that {@link AbstractParser#beginParsing(Reader)} must have been invoked once before calling this method. I
src/main/java/com/univocity/parsers/common/AbstractParser.java:571
↓ 44 callersMethodvalidate
(String delimiter, String input, String values)
src/test/java/com/univocity/parsers/issues/github/Github_209.java:51
↓ 42 callersMethodsetLineSeparatorDetectionEnabled
Defines whether the parser should detect the line separator automatically. @param lineSeparatorDetectionEnabled a flag indicating whether the first l
src/main/java/com/univocity/parsers/common/CommonParserSettings.java:348
↓ 42 callersMethodsetQuoteEscape
Defines the character used for escaping quotes inside an already quoted value. Defaults to '"' @param quoteEscape the quote escape character
src/main/java/com/univocity/parsers/csv/CsvFormat.java:88
↓ 41 callersMethodsetIgnoreLeadingWhitespaces
Defines whether or not leading whitespaces from values being read/written should be skipped (defaults to true) @param ignoreLeadingWhitespaces true
src/main/java/com/univocity/parsers/common/CommonSettings.java:187
↓ 40 callersMethodget
Returns a copy of the fields in this set @return a copy of the fields in this set
src/main/java/com/univocity/parsers/common/fields/FieldSet.java:65
↓ 39 callersMethodgetValue
Returns the a value to a given annotation attribute that might have been modified by a {@link com.univocity.parsers.annotations.Copy} annotation @par
src/main/java/com/univocity/parsers/annotations/helpers/AnnotationRegistry.java:59
↓ 38 callersMethodgetName
Returns the name of a property of a Java bean. Might be {@code null}. @return The property name.
src/main/java/com/univocity/parsers/common/beans/PropertyWrapper.java:75
↓ 38 callersMethodsetRowWriterProcessor
Defines a processor for input objects that converts them into a manageable format for writing. @param rowWriterProcessor the implementation of the in
src/main/java/com/univocity/parsers/common/CommonWriterSettings.java:94
↓ 35 callersMethodgetRows
The list of parsed records @return the list of parsed records
src/main/java/com/univocity/parsers/common/processor/core/AbstractListProcessor.java:94
↓ 34 callersMethodgetKey
(T constant, EnumSelector conversionType)
src/main/java/com/univocity/parsers/conversions/EnumConversion.java:205
↓ 34 callersMethodgetMessage
Returns a detailed message describing the error, and the internal state of the parser/writer. @return a detailed message describing the error
src/main/java/com/univocity/parsers/common/AbstractException.java:41
↓ 34 callersMethodsetQuote
Defines the character used for escaping values where the field delimiter is part of the value. Defaults to '"' @param quote the quote character
src/main/java/com/univocity/parsers/csv/CsvFormat.java:59
↓ 33 callersMethodconvertIndexes
Associates a sequence of {@link Conversion}s to fields of a given set of column indexes @param conversions the sequence of conversions to apply @ret
src/main/java/com/univocity/parsers/common/record/RecordMetaData.java:190
↓ 32 callersMethodgetName
(AnnotatedElement element)
src/main/java/com/univocity/parsers/annotations/helpers/AnnotationHelper.java:691
↓ 32 callersMethodthrowExceptionAndClose
In case of any exceptions, a {@link TextWritingException} is thrown, and the output {@link java.io.Writer} is closed. @param message Description of t
src/main/java/com/univocity/parsers/common/AbstractWriter.java:1014
↓ 32 callersMethodtoArray
Converts a list of enumerations to an array of their {@link Enum#toString()} representation @param enums a list of enumerations to convert @return a
src/main/java/com/univocity/parsers/common/ArgumentUtils.java:425
↓ 31 callersMethodgetString
Returns the {@code String} value in the given column @param headerName the name of the column @return the value stored in the given column, {@code n
src/main/java/com/univocity/parsers/common/record/Record.java:248
↓ 31 callersMethodprocessRecord
Processes the data given for an individual record with the {@link RowWriterProcessor} provided by {@link CommonWriterSettings#getRowWriterProcessor()}
src/main/java/com/univocity/parsers/common/AbstractWriter.java:534
↓ 31 callersMethodsetHeaderWritingEnabled
Enables automatic writing of headers when they are available. If enabled, and headers are defined (or derived automatically if {@link #isAutoConfigura
src/main/java/com/univocity/parsers/common/CommonWriterSettings.java:118
↓ 31 callersMethodsetPadding
Defines the padding character used to represent unwritten spaces. Defaults to ' ' @param padding the padding character
src/main/java/com/univocity/parsers/fixed/FixedWidthFormat.java:53
↓ 30 callersMethodselectFields
Selects a sequence of fields for reading/writing by their names. <p><b>When reading</b>, only the values of the selected columns will be parsed, and
src/main/java/com/univocity/parsers/common/CommonSettings.java:306
↓ 30 callersMethodsetDelimiter
Defines the field delimiter character. Defaults to ',' @param delimiter the field delimiter character
src/main/java/com/univocity/parsers/csv/CsvFormat.java:129
↓ 29 callersMethodremove
Removes a section from the appended content @param from the starting position in the buffer (inclusive) @param length the number of characters to accu
src/main/java/com/univocity/parsers/common/input/CharAppender.java:116
↓ 28 callersMethodgetHeaders
Returns the column headers. This can be either the headers defined in {@link CommonSettings#getHeaders()} or the headers parsed in the input when {@li
src/main/java/com/univocity/parsers/common/processor/core/ColumnReader.java:43
↓ 28 callersMethodheaders
Returns the file headers that identify each parsed record. @return the headers used to identify each record parsed from the input.
src/main/java/com/univocity/parsers/common/Context.java:35
↓ 28 callersMethodstopParsing
In case of errors, stops parsing and closes all open resources. Avoids hiding the original exception in case another error occurs when stopping.
src/main/java/com/univocity/parsers/common/AbstractParser.java:410
↓ 28 callersMethodtoString
()
src/main/java/com/univocity/parsers/common/Format.java:212
↓ 28 callersMethodtrim
Removes surrounding spaces from a given {@code String}, from its right or left side, or both. @param input the content to trim @param left flag to i
src/main/java/com/univocity/parsers/common/ArgumentUtils.java:584
↓ 27 callersMethodnewReader
(String path)
src/test/java/com/univocity/parsers/ParserTestCase.java:35
↓ 26 callersMethodappend
(char ch)
src/main/java/com/univocity/parsers/common/input/ExpandingCharAppender.java:86
↓ 25 callersMethodremove
Removes any mappings that target a given method or attribute name. @param methodOrAttributeName the name of the method or attribute to be removed.
src/main/java/com/univocity/parsers/common/fields/ColumnMapper.java:307
↓ 25 callersMethodsetNullValue
Sets the String representation of a null value (defaults to null) <p>When reading, if the parser does not read any character from the input, the nullV
src/main/java/com/univocity/parsers/common/CommonSettings.java:107
↓ 24 callersMethodnext
()
src/main/java/com/univocity/parsers/common/iterators/ParserIterator.java:95
↓ 24 callersMethodreadFileContent
(File file)
src/test/java/com/univocity/parsers/ParserTestCase.java:58
↓ 24 callersMethodsetValue
Defines the value being processed when the error occurred. @param value the value being processed when error occurred.
src/main/java/com/univocity/parsers/common/DataProcessingException.java:169
↓ 23 callersMethodcurrentParsedContent
Returns a String with the input character sequence parsed to produce the current record. @return the text content parsed for the current input record
src/main/java/com/univocity/parsers/common/ParsingContext.java:110
↓ 23 callersMethoditerate
Provides an {@link IterableResult} for iterating rows parsed from the input. @param input the input {@code File} @param encoding the encoding of t
src/main/java/com/univocity/parsers/common/AbstractParser.java:1287
↓ 23 callersMethodtoArray
Converts a collection of plain strings into an array of {@code NormalizedString} @param args the strings to convert to {@code NormalizedString} @retur
src/main/java/com/univocity/parsers/common/NormalizedString.java:229
↓ 22 callersMethodaddSwitchForValue
Associates a {@link RowWriterProcessor} implementation with an expected value to be matched in the column provided in the constructor of this class.
src/main/java/com/univocity/parsers/common/processor/OutputValueSwitch.java:184
↓ 22 callersMethodtoIdentifierGroupArray
Analyzes a group of NormalizedString to identify any instances whose normalized content will generate clashes. Any clashing entries will be converted
src/main/java/com/univocity/parsers/common/NormalizedString.java:525
↓ 21 callersMethodassertHeadersAndValuesMatch
(RowListProcessor processor, String[] expectedHeaders, Object[][] expectedResult)
src/test/java/com/univocity/parsers/ParserTestCase.java:40
↓ 21 callersMethodgetDetectedFormat
Returns the CSV format detected when one of the following settings is enabled: <ul> <li>{@link CommonParserSettings#isLineSeparatorDetectionEnabled()}
src/main/java/com/univocity/parsers/csv/CsvParser.java:497
↓ 21 callersMethodlastIndexOf
Returns the last index of a given character in the current appended (characters that have been marked as whitespace will be ignored) @param ch the cha
src/main/java/com/univocity/parsers/common/input/CharAppender.java:302
↓ 21 callersMethodreset
Clears the accumulated value and the whitespace count.
src/main/java/com/univocity/parsers/common/input/CharAppender.java:160
↓ 21 callersMethodsetEmptyValue
Sets the String representation of an empty value (defaults to null) <p>When reading, if the parser does not read any character from the input, and th
src/main/java/com/univocity/parsers/csv/CsvParserSettings.java:75
↓ 21 callersMethodwriteHeaders
Writes the headers defined in {@link CommonSettings#getHeaders()} A {@link TextWritingException} will be thrown if no headers were defined or if recor
src/main/java/com/univocity/parsers/common/AbstractWriter.java:409
↓ 20 callersMethodfill
Adds a sequence of repeated characters to the input. @param ch the character to append @param length the number of times the given character should be
src/main/java/com/univocity/parsers/common/input/CharAppender.java:180
↓ 20 callersMethodprint
Prints a collection of rows to the standard output @param rows A collection of rows to be printed.
src/test/java/com/univocity/parsers/examples/Example.java:72
↓ 20 callersMethodsetReadInputOnSeparateThread
Defines whether or not a separate thread will be used to read characters from the input while parsing (defaults true if the number of available proces
src/main/java/com/univocity/parsers/common/CommonParserSettings.java:97
↓ 20 callersMethodwrite
Converts the given input into an Object array that is suitable for writing. Used by format-specific writers that extend {@link AbstractWriter}. @para
src/main/java/com/univocity/parsers/common/processor/RowWriterProcessor.java:60
↓ 19 callersMethodsetColumnReorderingEnabled
Defines whether fields selected using the field selection methods (defined by the parent class {@link CommonSettings}) should be reordered (defaults t
src/main/java/com/univocity/parsers/common/CommonParserSettings.java:291
↓ 18 callersMethodassertEqual
(Set<String> selectedFields, String field, Integer value, int expected)
src/test/java/com/univocity/parsers/issues/github/Github_283.java:99
↓ 18 callersMethodequals
(Object o)
src/test/java/com/univocity/parsers/issues/github/Github_159.java:79
↓ 18 callersMethodtoLowerCase
Returns a singleton instance of {@link LowerCaseConversion} @return a singleton instance of {@link LowerCaseConversion}
src/main/java/com/univocity/parsers/conversions/Conversions.java:59
↓ 17 callersMethodgetColumnIndex
Returns the column index where the exception occurred. @return the column index where the exception occurred.
src/main/java/com/univocity/parsers/common/TextParsingException.java:128
↓ 17 callersMethodgetDelimiter
Returns the field delimiter character. Defaults to ',' @return the field delimiter character
src/main/java/com/univocity/parsers/csv/CsvFormat.java:108
↓ 17 callersMethodgetMetaData
(String name)
src/main/java/com/univocity/parsers/common/record/RecordMetaDataImpl.java:46
↓ 17 callersMethoditerator
()
src/main/java/com/univocity/parsers/common/IterableResult.java:32
↓ 17 callersMethodselectIndexes
Selects a sequence of fields for reading/writing by their positions. <p><b>When reading</b>, only the values of the selected columns will be parsed,
src/main/java/com/univocity/parsers/common/CommonSettings.java:348
↓ 17 callersMethodsubstring
Returns a section of the appended content @param from the starting position in the buffer @param length the number of characters to accumulate from th
src/main/java/com/univocity/parsers/common/input/CharAppender.java:109
↓ 16 callersMethodgetColumnValues
Returns the values processed for each column @return a list of lists. The stored lists correspond to the position of the column processed from the inp
src/main/java/com/univocity/parsers/common/processor/core/ColumnSplitter.java:81
next →1–100 of 2,653, ranked by callers