ch.qos.logback.core.encoder
Class EventObjectInputStream<E>
java.lang.Object
java.io.InputStream
ch.qos.logback.core.encoder.EventObjectInputStream<E>
- Type Parameters:
E
-
- All Implemented Interfaces:
- Closeable
public class EventObjectInputStream<E>
- extends InputStream
Restitute the contents of an input stream as java objects.
- Author:
- Ceki Gülcü
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
read
public int read()
throws IOException
- Specified by:
read
in class InputStream
- Throws:
IOException
available
public int available()
throws IOException
- Returns the number of bytes available
- Overrides:
available
in class InputStream
- Throws:
IOException
readEvent
public E readEvent()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
Copyright © 2005-2012 QOS.ch. All Rights Reserved.