Oracle Data-aware Controls Reference

oracle.dacf.util.errorloggers
Class InputStreamLoggerReader

java.lang.Object
  extended byoracle.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

Nested Class Summary
 class InputStreamLoggerReader.ErrorAttributes
          Inner class used to present a context-less error.
 
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.
 
Method Summary
 InputStreamLoggerReader.ErrorAttributes[] getErrors()
          Returns all the errors read from the InputStream as an InputStreamLoggerReader.ErrorAttributes class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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.

Oracle Data-aware Controls Reference

 

Copyright © 1997, 2003, Oracle. All rights reserved.