Package org.gbif.utils.file.tabular
Class TabularFileMetadataExtractorTest
java.lang.Object
org.gbif.utils.file.tabular.TabularFileMetadataExtractorTest
Unit tests related to
TabularFileMetadataExtractor-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
TabularFileMetadataExtractorTest
public TabularFileMetadataExtractorTest()
-
-
Method Details
-
testComputeDelimiterFrequencySums
-
testComputeDelimiterDistinctFrequency
-
testComputeDelimiterHighestFrequencyPerLine
-
testExtractTabularMetadata
-
testSingleLineWithSeparatorAsValue
-
testGetDelimiterWithHighestCount
-
testGetQuoteCharWithHighestCount
-
detectCsvAlwaysQuoted
- Throws:
IOException
-
detectPipe
- Throws:
IOException
-
detectSemicolon
- Throws:
IOException
-
detectTab
- Throws:
IOException
-
detectTabQuoted
- Throws:
IOException
-
detectEncoding
- Throws:
IOException
-