Skip to content
Snippets Groups Projects
Commit 4a615eda authored by tpylak's avatar tpylak
Browse files

SE-287 tsv reader helper

SVN: 17335
parent 4f62944a
No related branches found
No related tags found
No related merge requests found
......@@ -127,6 +127,8 @@ public class CsvFileReaderHelper
*/
public static class DefaultCsvFileReaderConfiguration implements ICsvFileReaderConfiguration
{
public static final ICsvFileReaderConfiguration INSTANCE =
new DefaultCsvFileReaderConfiguration();
public char getColumnDelimiter()
{
......@@ -147,6 +149,20 @@ public class CsvFileReaderHelper
{
return true;
}
}
/**
* Default configuration for reading TSV file:
*/
public static class DefaultTsvFileReaderConfiguration extends DefaultCsvFileReaderConfiguration
{
public static final ICsvFileReaderConfiguration INSTANCE =
new DefaultTsvFileReaderConfiguration();
@Override
public char getColumnDelimiter()
{
return '\t';
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment