Skip to content

Commit

Permalink
Change output file name for t-rdfToJsonTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
skodapetr committed Dec 13, 2020
1 parent ea11ce1 commit b9493e6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public void execute() throws LpException {
TransformationFile definition = parseDefinition();
for (FilesDataUnit.Entry entry : inputFiles) {
SelectorContext context = createContext(definition, entry.toFile());
File outputFile = outputFiles.createFile(entry.getFileName());
File outputFile = outputFiles.createFile(
entry.getFileName() + ".json");
try (FileOutputStream stream = new FileOutputStream(outputFile)) {
PrintWriter writer = new PrintWriter(
stream, true, StandardCharsets.UTF_8);
Expand Down

0 comments on commit b9493e6

Please sign in to comment.