public class FileReporter extends Object implements Reporter
| Constructor and Description |
|---|
FileReporter()
Open a writer to a file in a directory named by the configuration
property
report.dir, or in [DSpace]/reports if not
configured. |
| Modifier and Type | Method and Description |
|---|---|
Appendable |
append(char c) |
Appendable |
append(CharSequence cs) |
Appendable |
append(CharSequence cs,
int i,
int i1) |
void |
close() |
public FileReporter()
throws IOException
report.dir, or in [DSpace]/reports if not
configured.IOException - if there is a problem with the file path.public Appendable append(CharSequence cs) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(CharSequence cs, int i, int i1) throws IOException
append in interface AppendableIOExceptionpublic Appendable append(char c) throws IOException
append in interface AppendableIOExceptionpublic void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2019 DuraSpace. All rights reserved.