Class CSVUtil
java.lang.Object
com.github.stefvanschie.inventoryframework.util.CSVUtil
A utility class for reading csv files
- Since:
- 0.5.0
-
Method Summary
Modifier and TypeMethodDescriptionreadAll
(@NotNull InputStream inputStream) Reads the entire file and returns it as a list of strings.
-
Method Details
-
readAll
@NotNull public static @NotNull List<String[]> readAll(@NotNull @NotNull InputStream inputStream) throws IOException Reads the entire file and returns it as a list of strings.- Parameters:
inputStream
- the input stream to read from- Returns:
- a list of strings containing the values inside the file
- Throws:
IOException
- when reading fails for any reason- Since:
- 0.5.0
-