Interface Paths
public interface Paths
Static methods that return a Path by converting a path string or URI.
-
Field Summary
Fields -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic PathgetTestData(String... path) Get the file path of a test sample dataset.getTestDataLines(String... path) Returns the reader of a test data.static BufferedReadergetTestDataReader(String... path) Returns the reader of a test data.
-
Field Details
-
home
Smile home directory.
-
-
Method Details
-
getTestData
-
getTestDataReader
Returns the reader of a test data.- Parameters:
path- the path strings to be joined to form the path.- Returns:
- the reader of the test data.
- Throws:
IOException- when fails to create the reader.
-
getTestDataLines
Returns the reader of a test data.- Parameters:
path- the path strings to be joined to form the path.- Returns:
- the file lines of test data.
- Throws:
IOException- when fails to read the file.
-