org.pf.directory.ldif
Class LDIFLineProcessor

java.lang.Object
  extended by org.pf.directory.ldif.LDIFLineProcessor
All Implemented Interfaces:
LineProcessor
Direct Known Subclasses:
LDIFReader

public abstract class LDIFLineProcessor
extends java.lang.Object
implements LineProcessor

A generic line processor for LDIF input. Allows subclasses to concentrate on handling the prepared content of an LDIF input (e.g. file).

Version:
1.1
Author:
Manfred Duchrow

Method Summary
 boolean processLine(java.lang.String line, int lineNo)
          Handles each line provided by the stream reader.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

processLine

public boolean processLine(java.lang.String line,
                           int lineNo)
Handles each line provided by the stream reader. Do not call this method directly. It is only public due to the implementation of interface LineProcessor

Specified by:
processLine in interface LineProcessor
Parameters:
line - The line to process (must not be null)
lineNo - The linen number (starting with 1)
See Also:
LineProcessor.processLine(java.lang.String, int)