public class ProcessorFactory extends Object
Modifier and Type | Method and Description |
---|---|
static ChunkProcessor |
getProcessor(String recordType) |
static void |
register(String recordType,
ChunkProcessor processor)
Register a specific parser for a
ChunkProcessor implementation. |
public static ChunkProcessor getProcessor(String recordType) throws UnknownRecordTypeException
UnknownRecordTypeException
public static void register(String recordType, ChunkProcessor processor)
ChunkProcessor
implementation.recordType
- processor
- Copyright © 2015 Apache Software Foundation. All Rights Reserved.