Package nbbrd.io.picocsv
Class Picocsv.Parser<T>
java.lang.Object
nbbrd.io.picocsv.Picocsv.Parser<T>
- All Implemented Interfaces:
TextParser<T>
- Enclosing class:
- Picocsv
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> @NonNull Picocsv.Parser.Builder<T>builder(@NonNull Picocsv.InputHandler<T> handler) parseCsv(@NonNull nbbrd.picocsv.Csv.Reader resource) parseCsv(IOSupplier<@NonNull nbbrd.picocsv.Csv.Reader> source) parseReader(@NonNull Reader resource) parseStream(@NonNull InputStream resource, @NonNull Charset encoding) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nbbrd.io.text.TextParser
andThen, asFileParser, asParser, asParser, parseChars, parseReader, parseResource, parseStream
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
builder
@NonNull public static <T> @NonNull Picocsv.Parser.Builder<T> builder(@NonNull @NonNull Picocsv.InputHandler<T> handler) -
parseFile
@NonNull public T parseFile(@NonNull @NonNull File source, @NonNull @NonNull Charset encoding) throws IOException - Specified by:
parseFilein interfaceTextParser<T>- Throws:
IOException
-
parsePath
@NonNull public T parsePath(@NonNull @NonNull Path source, @NonNull @NonNull Charset encoding) throws IOException - Specified by:
parsePathin interfaceTextParser<T>- Throws:
IOException
-
parseReader
- Specified by:
parseReaderin interfaceTextParser<T>- Throws:
IOException
-
parseStream
@NonNull public T parseStream(@NonNull @NonNull InputStream resource, @NonNull @NonNull Charset encoding) throws IOException - Specified by:
parseStreamin interfaceTextParser<T>- Throws:
IOException
-
parseCsv
- Throws:
IOException
-
parseCsv
- Throws:
IOException
-