Class CSVUtil
- java.lang.Object
-
- com.github.stefvanschie.inventoryframework.util.CSVUtil
-
public final class CSVUtil extends Object
A utility class for reading csv files- Since:
- 0.5.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @NotNull List<String[]>
readAll(@NotNull InputStream inputStream)
Reads the entire file and returns it as a list of strings.
-
-
-
Method Detail
-
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
-
-