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

## org.modeshape.sequencer.text
Interface RowFactory

All Known Implementing Classes:
  DefaultRowFactory

    @NotThreadSafe
    public interface RowFactory

A simple interface that allows an implementer to control how rows in a text file are mapped to properties (including primary and mixin types) in the graph.

Implementations of this class must provide a public, no-argument constructor.

To use, supply the implementation class name to a `AbstractTextSequencer` object. New instances are created for each `StreamSequencer.sequence(java.io.InputStream, SequencerOutput, StreamSequencerContext)`, so implementations of this interface need not be thread-safe.

Method Summary
`void` | `recordRow(StreamSequencerContext context, SequencerOutput output, String[] columns)` Records a row using the provided `SequencerOutput` instance.

Method Detail

### recordRow

    void recordRow(StreamSequencerContext context,
                   SequencerOutput output,
                   String[] columns)

  Records a row using the provided `SequencerOutput` instance.

  Parameters:
    `context` - the sequencer context
    `output` - the `StreamSequencer` output
    `columns` - the columns that could be parsed out for the row

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

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.