oracle.dacf.util.errorloggers
Class InputStreamLoggerReader
java.lang.Object
|
+--oracle.dacf.util.errorloggers.InputStreamLoggerReader
- public class InputStreamLoggerReader
- extends java.lang.Object
The InputStreamLoggerReader reads the data
written by the OutputStreamLogger class.
InputStreamLoggerReader is used by the utility program showErrors
which translates the InputStreamLoggerReader data into a collection of
error attributes for every error.
- See Also:
OutputStreamLogger
,
showErrors
Constructor Summary |
InputStreamLoggerReader(java.io.InputStream is)
Public constructor which takes an InputStream object and
uses the default character encoding. |
InputStreamLoggerReader(java.io.InputStreamReader ir)
Public constructor which takes an InputStreamReader object and
uses the default character encoding. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputStreamLoggerReader
public InputStreamLoggerReader(java.io.InputStream is)
throws java.io.IOException
- Public constructor which takes an InputStream object and
uses the default character encoding.
- Parameters:
is
- the InputStream or logging source.
InputStreamLoggerReader
public InputStreamLoggerReader(java.io.InputStreamReader ir)
throws java.io.IOException
- Public constructor which takes an InputStreamReader object and
uses the default character encoding.
- Parameters:
is
- the InputStream or logging source.
getErrors
public InputStreamLoggerReader.ErrorAttributes[] getErrors()
- Returns all the errors read from the InputStream as an
InputStreamLoggerReader.ErrorAttributes class.
- Returns:
- all the errors in the InputStream.