public class ProcessorFactory
extends java.lang.Object
| Constructor and Description |
|---|
ProcessorFactory(HuaweiM2KProperties props)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Processor proc)
Adds a Processor object to the Processor set
|
Processor |
getProcessor(java.lang.String strFile)
Returns a Processor for the file to be processed
|
void |
init(HuaweiM2KProperties props)
Initialise the Processor set
|
public ProcessorFactory(HuaweiM2KProperties props)
props - HuaweiM2KProperties instancepublic void init(HuaweiM2KProperties props)
props - HuaweiM2KProperties instancepublic void add(Processor proc)
processor - Processor objectpublic Processor getProcessor(java.lang.String strFile) throws ProcessorException
strFile - Full path to fileProcessorException