fix json excetpion not ioexception
[nikiroo-utils.git] / output / Sysout.java
... / ...
CommitLineData
1package be.nikiroo.fanfix.output;
2
3import be.nikiroo.fanfix.data.Chapter;
4import be.nikiroo.fanfix.data.Paragraph;
5import be.nikiroo.fanfix.data.Story;
6
7class Sysout extends BasicOutput {
8 @Override
9 protected void writeStoryHeader(Story story) {
10 System.out.println(story);
11 }
12
13 @Override
14 protected void writeChapterHeader(Chapter chap) {
15 System.out.println(chap);
16 }
17
18 @Override
19 protected void writeParagraphHeader(Paragraph para) {
20 System.out.println(para);
21 }
22}