public class PCLParser
extends java.lang.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(java.io.File file)
Parse a PCL dataset from given file.
|
AttributeDataset |
parse(java.lang.String path)
Parse a PCL dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.io.File file)
Parse a PCL dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.io.InputStream stream)
Parse a PCL dataset from an input stream.
|
AttributeDataset |
parse(java.lang.String name,
java.lang.String path)
Parse a PCL dataset from given file.
|
AttributeDataset |
parse(java.lang.String name,
java.net.URI uri)
Parse a PCL dataset from given URI.
|
AttributeDataset |
parse(java.net.URI uri)
Parse a PCL dataset from given URI.
|
public AttributeDataset parse(java.net.URI uri) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String name, java.net.URI uri) throws java.io.IOException, java.text.ParseException
uri - the URI of data source.java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String path) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String name, java.lang.String path) throws java.io.IOException, java.text.ParseException
path - the file path of data source.java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.io.File file) throws java.io.IOException, java.text.ParseException
java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String name, java.io.File file) throws java.io.IOException, java.text.ParseException
file - the file of data source.java.io.IOExceptionjava.text.ParseExceptionpublic AttributeDataset parse(java.lang.String name, java.io.InputStream stream) throws java.io.IOException, java.text.ParseException
name - the name of dataset.stream - the input stream of data.java.io.IOExceptionjava.text.ParseException