org.netbeans.lib.uihandler 1.30

org.netbeans.lib.uihandler
Class LogRecords

java.lang.Object
  extended by org.netbeans.lib.uihandler.LogRecords

public final class LogRecords
extends Object

Can persist and read log records from streams.


Method Summary
static void decorate(LogRecord r, Decorable d)
          Inspects the log record and decorates its content.
static void scan(InputStream is, Handler h)
           
static void write(OutputStream os, LogRecord rec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

decorate

public static void decorate(LogRecord r,
                            Decorable d)
Inspects the log record and decorates its content.

Parameters:
r - the log record
d - callback to be called with inspected values

write

public static void write(OutputStream os,
                         LogRecord rec)
                  throws IOException
Throws:
IOException

scan

public static void scan(InputStream is,
                        Handler h)
                 throws IOException
Throws:
IOException

org.netbeans.lib.uihandler 1.30

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.