private ILineSender lineSender;
public static ReaderThread getInstance(ILineSender lineSender, IParam param, String readerClassName,
String readerPath, IPluginMonitor monitor){
try{
IReader reader = ReflectionUtil.createInstanceByDefaultConstructor(
readerClassName, IReader.class, JarLoader.getInstance(readerPath));
reader.setParam(param);
reader.setMonitor(monitor);
return new ReaderThread(lineSender, reader);
} catch(Exception e){
s_logger.error("Error to create Reader Thread!", e);
return null;
}