public class BinarySparseDatasetParser extends Object
| Constructor and Description |
|---|
BinarySparseDatasetParser()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
BinarySparseDataset |
parse(File file)
Parse a binary sparse dataset from given file.
|
BinarySparseDataset |
parse(InputStream stream)
Parse a binary sparse dataset from an input stream.
|
BinarySparseDataset |
parse(String path)
Parse a binary sparse dataset from given file.
|
BinarySparseDataset |
parse(String name,
File file)
Parse a binary sparse dataset from given file.
|
BinarySparseDataset |
parse(String name,
InputStream stream)
Parse a binary sparse dataset from an input stream.
|
BinarySparseDataset |
parse(String name,
String path)
Parse a binary sparse dataset from given file.
|
BinarySparseDataset |
parse(String name,
URI uri)
Parse a binary sparse dataset from given URI.
|
BinarySparseDataset |
parse(URI uri)
Parse a binary sparse dataset from given URI.
|
public BinarySparseDataset parse(URI uri) throws FileNotFoundException, IOException, ParseException
public BinarySparseDataset parse(String name, URI uri) throws FileNotFoundException, IOException, ParseException
uri - the URI of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic BinarySparseDataset parse(String path) throws FileNotFoundException, IOException, ParseException
public BinarySparseDataset parse(String name, String path) throws FileNotFoundException, IOException, ParseException
path - the file path of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic BinarySparseDataset parse(File file) throws FileNotFoundException, IOException, ParseException
public BinarySparseDataset parse(String name, File file) throws FileNotFoundException, IOException, ParseException
file - the file of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic BinarySparseDataset parse(InputStream stream) throws IOException, ParseException
stream - the input stream of data.FileNotFoundExceptionIOExceptionParseExceptionpublic BinarySparseDataset parse(String name, InputStream stream) throws IOException, ParseException
name - the name of dataset.stream - the input stream of data.FileNotFoundExceptionIOExceptionParseExceptionCopyright © 2015. All rights reserved.