Package org.dspace.curate
Class LogReporter
java.lang.Object
org.dspace.curate.LogReporter
- All Implemented Interfaces:
Appendable,AutoCloseable,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 is
close()d.- Author:
- mhwood
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) append(CharSequence cs) append(CharSequence cs, int i, int i1) voidclose()
-
Constructor Details
-
LogReporter
public LogReporter()
-
-
Method Details
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-