public interface IndexExporter
Modifier and Type | Method and Description |
---|---|
void |
exportFormalToWriter(PrintWriter out)
Write the index to the provided print writer in an implementation specific, machine-readable format, preferably
either XML or JSON.
|
void |
exportReadableToStream(PrintStream out)
Write the index to the provided output stream in an implementation specific, human-readable format.
|
void exportReadableToStream(PrintStream out) throws IOException, UnsupportedOperationException
out
- The output stream that the index will be sent to.IOException
- if an IOException occurs in the underlying PrintStream.UnsupportedOperationException
- if the method is not supported by this implementation.void exportFormalToWriter(PrintWriter out) throws IOException, UnsupportedOperationException
out
- The print writer that the index will be sent to.IOException
- if an IOException occurs in the underlying PrintWriter.UnsupportedOperationException
- if the method is not supported by this implementation.