org.apache.jackrabbit.mk.util
Class MicroKernelInputStream
java.lang.Object
java.io.InputStream
org.apache.jackrabbit.mk.util.MicroKernelInputStream
- All Implemented Interfaces:
- Closeable
public class MicroKernelInputStream
- extends InputStream
An input stream to simplify reading a blob from a MicroKernel.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MicroKernelInputStream
public MicroKernelInputStream(MicroKernel mk,
String id)
skip
public long skip(long n)
- Overrides:
skip in class InputStream
read
public int read(byte[] b,
int off,
int len)
- Overrides:
read in class InputStream
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
readFully
public static byte[] readFully(MicroKernel mk,
String id)
throws IOException
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.