Package org.dspace.curate
Class LogReporter
- java.lang.Object
-
- org.dspace.curate.LogReporter
-
- All Implemented Interfaces:
Appendable,AutoCloseable,Reporter
public class LogReporter extends Object implements Reporter
Write curation report records through the logging framework. Whole lines (strings ending in '\n') are written to the log category "curation". Any partial line is flushed when the reporter isclose()d.- Author:
- mhwood
-
-
Constructor Summary
Constructors Constructor Description LogReporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Appendableappend(char c)Appendableappend(CharSequence cs)Appendableappend(CharSequence cs, int i, int i1)voidclose()
-
-
-
Method Detail
-
append
public Appendable append(CharSequence cs) throws IOException
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
public Appendable append(CharSequence cs, int i, int i1) throws IOException
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
public Appendable append(char c) throws IOException
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
-