Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.ifs.utils.io
Class LineNumberPrepender

    java.lang.Object
      oracle.ifs.utils.io.LineNumberPrepender

All Implemented Interfaces:
  StringProcessor

    public class LineNumberPrepender

extends java.lang.Object
implements StringProcessor

Prepends the line number to each String processed. Each time process() is called, the line number is incremented. Used with the LineFilterReader class.

Modified:
  lsaenz 11/02/1999 Created.

Constructor Summary
`LineNumberPrepender()`

Method Summary
`java.lang.String` | `processString(java.lang.String input)` Processes an input String and returns an output String.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LineNumberPrepender

    public LineNumberPrepender()

Method Detail

### processString

    public java.lang.String processString(java.lang.String input)

  Description copied from class: `LineNumberPrepender`
  Processes an input String and returns an output String. Prepends the current line number (really, the current count of how many times this method has been called since this class was created) to the input String.

  Specified by:
    `processString` in interface `StringProcessor`
  Parameters:
    `input` - the String to process.
  Returns:
    the processed output String, or null if the line should be deleted.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD