X-Git-Url: http://git.nikiroo.be/?p=nikiroo-utils.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Foutput%2FBasicOutput.java;h=4607827b14e8010e98b844d0becd3c3df2e61463;hp=909c8fe9707b6a76a05d6ebdf151193142757b6e;hb=211f7ddb50f68aa8a999023ef6d63d5756bdace6;hpb=326093dc53fa48019c94f59bd006b307d755b392 diff --git a/src/be/nikiroo/fanfix/output/BasicOutput.java b/src/be/nikiroo/fanfix/output/BasicOutput.java index 909c8fe..4607827 100644 --- a/src/be/nikiroo/fanfix/output/BasicOutput.java +++ b/src/be/nikiroo/fanfix/output/BasicOutput.java @@ -45,6 +45,7 @@ public abstract class BasicOutput { ; + @Override public String toString() { return super.toString().toLowerCase(); } @@ -267,25 +268,32 @@ public abstract class BasicOutput { * * @return the extension */ - public String getDefaultExtension(boolean readerTarget) { + public String getDefaultExtension( + @SuppressWarnings("unused") boolean readerTarget) { return ""; } + @SuppressWarnings("unused") protected void writeStoryHeader(Story story) throws IOException { } + @SuppressWarnings("unused") protected void writeChapterHeader(Chapter chap) throws IOException { } + @SuppressWarnings("unused") protected void writeParagraphHeader(Paragraph para) throws IOException { } + @SuppressWarnings("unused") protected void writeStoryFooter(Story story) throws IOException { } + @SuppressWarnings("unused") protected void writeChapterFooter(Chapter chap) throws IOException { } + @SuppressWarnings("unused") protected void writeParagraphFooter(Paragraph para) throws IOException { } @@ -367,6 +375,7 @@ public abstract class BasicOutput { writeParagraphFooter(para); } + @SuppressWarnings("unused") protected void writeTextLine(ParagraphType type, String line) throws IOException { }