Package org.apache.tika.parser.csv
Class CSVResult
- java.lang.Object
-
- org.apache.tika.parser.csv.CSVResult
-
- All Implemented Interfaces:
Comparable<CSVResult>
public class CSVResult extends Object implements Comparable<CSVResult>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(CSVResult o)
Sorts in descending order of confidenceboolean
equals(Object o)
double
getConfidence()
Character
getDelimiter()
MediaType
getMediaType()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getMediaType
public MediaType getMediaType()
-
getDelimiter
public Character getDelimiter()
- Returns:
- returns the delimiter or
null
if the mediatype=text/plain
-
compareTo
public int compareTo(CSVResult o)
Sorts in descending order of confidence- Specified by:
compareTo
in interfaceComparable<CSVResult>
- Parameters:
o
-- Returns:
-
getConfidence
public double getConfidence()
-
-