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 intcompareTo(CSVResult o)Sorts in descending order of confidencebooleanequals(Object o)doublegetConfidence()CharactergetDelimiter()MediaTypegetMediaType()inthashCode()StringtoString()
-
-
-
Method Detail
-
getMediaType
public MediaType getMediaType()
-
getDelimiter
public Character getDelimiter()
- Returns:
- returns the delimiter or
nullif the mediatype=text/plain
-
compareTo
public int compareTo(CSVResult o)
Sorts in descending order of confidence- Specified by:
compareToin interfaceComparable<CSVResult>- Parameters:
o-- Returns:
-
getConfidence
public double getConfidence()
-
-