|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.opends.server.replication.plugin.ReplLDIFInputStream
public class ReplLDIFInputStream
This class creates an input stream that can be used to read entries generated by SynchroLDIF as if they were being read from another source like a file.
Constructor Summary | |
---|---|
ReplLDIFInputStream(ReplicationDomain domain)
Creates a new ReplLDIFInputStream that will import entries for a synchronzation domain. |
Method Summary | |
---|---|
void |
close()
Closes this input stream so that no more data may be read from it. |
int |
read()
Reads a single byte of data from this input stream. |
int |
read(byte[] b,
int off,
int len)
Reads data from this input stream. |
Methods inherited from class java.io.InputStream |
---|
available, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReplLDIFInputStream(ReplicationDomain domain)
domain
- The replication domainMethod Detail |
---|
public void close()
close
in interface java.io.Closeable
close
in class java.io.InputStream
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
b
- The array into which the data should be read.off
- The position in the array at which point the data read may be
placed.len
- The maximum number of bytes that may be read into the
provided array.
java.io.IOException
- If a problem has occurred while generating data for
use by this input stream.public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
- If a problem has occurred while generating data for
use by this input stream.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |