Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
vadere
vadere
Commits
2a79de4b
Commit
2a79de4b
authored
Jan 18, 2019
by
Daniel Lehmberg
Browse files
WIP: add writer again (was shown as not used to me)
parent
20ecfc51
Pipeline
#84972
passed with stages
in 101 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VadereSimulator/src/org/vadere/simulator/projects/dataprocessing/outputfile/OutputFile.java
View file @
2a79de4b
...
...
@@ -55,6 +55,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
private
String
separator
;
private
final
String
nameConflictAdd
=
"-Proc?"
;
// the # is replaced with the processor id
private
VadereWriterFactory
writerFactory
;
public
VadereWriter
writer
;
protected
OutputFile
(
final
String
...
dataIndices
)
{
this
.
dataIndices
=
dataIndices
;
...
...
@@ -94,7 +95,7 @@ public abstract class OutputFile<K extends DataKey<K>> {
public
void
write
()
{
if
(!
isEmpty
())
{
try
(
VadereWriter
out
=
writerFactory
.
create
(
absoluteFileName
))
{
writer
=
out
;
printHeader
(
out
);
this
.
dataProcessors
.
stream
().
flatMap
(
p
->
p
.
getKeys
().
stream
())
...
...
Write
Preview
Markdown
is supported
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