public class PCLParser extends Object
In general the PCL file will contain log-transformed data, which is needed for clustering to work properly.
| Constructor and Description |
|---|
PCLParser()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AttributeDataset |
parse(File file)
Parse a PCL dataset from given file.
|
AttributeDataset |
parse(String path)
Parse a PCL dataset from given file.
|
AttributeDataset |
parse(String name,
File file)
Parse a PCL dataset from given file.
|
AttributeDataset |
parse(String name,
InputStream stream)
Parse a PCL dataset from an input stream.
|
AttributeDataset |
parse(String name,
String path)
Parse a PCL dataset from given file.
|
AttributeDataset |
parse(String name,
URI uri)
Parse a PCL dataset from given URI.
|
AttributeDataset |
parse(URI uri)
Parse a PCL dataset from given URI.
|
public AttributeDataset parse(URI uri) throws FileNotFoundException, IOException, ParseException
public AttributeDataset parse(String name, URI uri) throws FileNotFoundException, IOException, ParseException
uri - the URI of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic AttributeDataset parse(String path) throws FileNotFoundException, IOException, ParseException
public AttributeDataset parse(String name, String path) throws FileNotFoundException, IOException, ParseException
path - the file path of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic AttributeDataset parse(File file) throws FileNotFoundException, IOException, ParseException
public AttributeDataset parse(String name, File file) throws FileNotFoundException, IOException, ParseException
file - the file of data source.FileNotFoundExceptionIOExceptionParseExceptionpublic AttributeDataset parse(String name, InputStream stream) throws IOException, ParseException
name - the name of dataset.stream - the input stream of data.FileNotFoundExceptionIOExceptionParseExceptionCopyright © 2015. All rights reserved.