Package elki.datasource.parser
Interface Parser
-
- All Known Subinterfaces:
StreamingParser
- All Known Implementing Classes:
AbstractStreamingParser
,ArffParser
,BitVectorLabelParser
,CategorialDataAsNumberVectorParser
,ClusteringVectorParser
,LibSVMFormatParser
,NumberVectorLabelParser
,SimplePolygonParser
,SimpleTransactionParser
,SparseNumberVectorLabelParser
,StringParser
,TermFrequencyParser
public interface Parser
A Parser shall provide a ParsingResult by parsing an InputStream.- Since:
- 0.1
- Author:
- Arthur Zimek
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cleanup()
Perform cleanup operations after parsing.MultipleObjectsBundle
parse(java.io.InputStream in)
Returns a list of the objects parsed from the specified input stream.
-
-
-
Method Detail
-
parse
MultipleObjectsBundle parse(java.io.InputStream in)
Returns a list of the objects parsed from the specified input stream.- Parameters:
in
- the stream to parse objects from- Returns:
- a list containing those objects parsed from the input stream
-
cleanup
void cleanup()
Perform cleanup operations after parsing.
-
-