U - type of the usersI - type of the itemspublic interface RecommendationFormat<U,I>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
RecommendationFormat.Reader<U,I>
Recommendation reader.
|
static interface |
RecommendationFormat.Writer<U,I>
Recommendation writer.
|
| Modifier and Type | Method and Description |
|---|---|
default RecommendationFormat.Reader<U,I> |
getReader(File file)
Gets a reader for a file.
|
RecommendationFormat.Reader<U,I> |
getReader(InputStream in)
Gets a reader for an input stream.
|
default RecommendationFormat.Reader<U,I> |
getReader(Path path)
Gets a reader for a file path.
|
default RecommendationFormat.Reader<U,I> |
getReader(String path)
Gets a reader for a file path.
|
default RecommendationFormat.Writer<U,I> |
getWriter(File file)
Gets a writer for a file.
|
RecommendationFormat.Writer<U,I> |
getWriter(OutputStream out)
Gets a writer for an output stream.
|
default RecommendationFormat.Writer<U,I> |
getWriter(Path path)
Gets a writer for a file path.
|
default RecommendationFormat.Writer<U,I> |
getWriter(String path)
Gets a writer for a file path.
|
default RecommendationFormat.Writer<U,I> getWriter(Path path) throws IOException
path - file pathIOException - if path does not exist or IO errordefault RecommendationFormat.Writer<U,I> getWriter(String path) throws IOException
path - file pathIOException - if path does not exist or IO errordefault RecommendationFormat.Writer<U,I> getWriter(File file) throws IOException
file - fileIOException - if path does not exist or IO errorRecommendationFormat.Writer<U,I> getWriter(OutputStream out) throws IOException
out - output streamIOException - if path does not exist or IO errordefault RecommendationFormat.Reader<U,I> getReader(Path path) throws IOException
path - file pathIOException - when IO errordefault RecommendationFormat.Reader<U,I> getReader(String path) throws IOException
path - file pathIOException - when IO errordefault RecommendationFormat.Reader<U,I> getReader(File file) throws IOException
file - fileIOException - when IO errorRecommendationFormat.Reader<U,I> getReader(InputStream in) throws IOException
in - input streamIOException - when IO errorCopyright © 2016. All rights reserved.