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) @NonNull T@NonNull T@NonNull TparseReader(@NonNull Reader resource) @NonNull TparseStream(@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, parseChars, parseReader, parseResource, parseStream, withCharset
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
builder
public static <T> @NonNull Picocsv.Parser.Builder<T> builder(@NonNull Picocsv.InputHandler<T> handler) -
parseFile
- Specified by:
parseFilein interfaceTextParser<T>- Throws:
IOException
-
parsePath
- Specified by:
parsePathin interfaceTextParser<T>- Throws:
IOException
-
parseReader
- Specified by:
parseReaderin interfaceTextParser<T>- Throws:
IOException
-
parseStream
public @NonNull T parseStream(@NonNull InputStream resource, @NonNull Charset encoding) throws IOException - Specified by:
parseStreamin interfaceTextParser<T>- Throws:
IOException
-