Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Raphael
histream
Commits
752f44fd
Commit
752f44fd
authored
Jan 23, 2017
by
R.W.Majeed
Browse files
removed default escape character handling of backslashes
parent
401f1732
Changes
1
Hide whitespace changes
Inline
Side-by-side
histream-import/src/main/java/de/sekmi/histream/etl/FileRowSupplier.java
View file @
752f44fd
...
...
@@ -8,6 +8,7 @@ import java.net.URL;
import
java.net.URLConnection
;
import
java.time.Instant
;
import
com.opencsv.CSVParser
;
import
com.opencsv.CSVReader
;
public
class
FileRowSupplier
extends
RowSupplier
{
...
...
@@ -27,7 +28,7 @@ public class FileRowSupplier extends RowSupplier {
}
}
this
.
url
=
location
;
this
.
in
=
new
CSVReader
(
new
InputStreamReader
(
location
.
openStream
()),
fieldSeparator
.
charAt
(
0
));
this
.
in
=
new
CSVReader
(
new
InputStreamReader
(
location
.
openStream
()),
fieldSeparator
.
charAt
(
0
)
,
CSVParser
.
DEFAULT_QUOTE_CHARACTER
,
(
char
)
0
);
// TODO: check whether needed to close underlying InputStream
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment