|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.shared.ldap.ldif.LdifIterator
Iterates through a set of LDIF's on a input channel.
| Constructor Summary | |
LdifIterator(java.io.InputStream in)
Creates a new LdifIterator object on a stream. |
|
LdifIterator(java.io.InputStream in,
LdifIteratorMonitor monitor)
Creates a new LdifIterator object with a monitor on a stream. |
|
LdifIterator(java.io.Reader in)
Creates a new LdifIterator object on a reader. |
|
LdifIterator(java.io.Reader in,
LdifIteratorMonitor monitor)
Creates a new LdifIterator object with a monitor on a reader. |
|
| Method Summary | |
static java.lang.String |
filterComment(java.lang.String line)
Removes comments from a line as a filter before processing the lines. |
boolean |
hasNext()
Tests to see if another LDIF is on the input channel. |
java.lang.Object |
next()
Gets the next LDIF on the channel. |
void |
remove()
Always throws UnsupportedOperationException! |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LdifIterator(java.io.InputStream in)
throws java.io.IOException
in - the input stream to read from
java.io.IOException - if we cannot wrap the stream with a reader
public LdifIterator(java.io.Reader in)
throws java.io.IOException
in - the reader to read from
java.io.IOException - if we cannot wrap the reader with a bufferd reader
public LdifIterator(java.io.InputStream in,
LdifIteratorMonitor monitor)
throws java.io.IOException
in - the input stream to read frommonitor - monitor to log to
java.io.IOException - if we cannot wrap the stream with a reader
public LdifIterator(java.io.Reader in,
LdifIteratorMonitor monitor)
throws java.io.IOException
monitor - monitor to log toin - the reader to read from
java.io.IOException - if we cannot wrap the reader with a bufferd reader| Method Detail |
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.IteratorIterator.remove()public static java.lang.String filterComment(java.lang.String line)
line - the line to filter comments out of
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||