public class FlatFileLoaderImpl extends FileLoaderImpl
fileName, filetype, fromClient, isFileExtract, ispreview, stopOnError, uniqueId, userInfo| Constructor and Description |
|---|
FlatFileLoaderImpl(boolean preview,
boolean fromClient,
java.lang.String delimiter,
java.lang.String textQualifier,
boolean isFileExtract,
java.lang.String fileName,
java.lang.String processOwner)
Construct the set
|
FlatFileLoaderImpl(boolean preview,
java.lang.String delimiter,
java.lang.String textQualifier,
java.lang.String action,
java.lang.String transLangCode)
Construct the set
|
| Modifier and Type | Method and Description |
|---|---|
void |
processFlatData(java.io.InputStream inStream,
java.lang.String extSystemName,
java.lang.String entServiceName,
java.lang.Object recoveryService,
MboRemote npMbo)
Process Flat file.
|
void |
writeToFile(int lineNum)
writeToFile - Apple apar 250636
|
getExtractOutputFile, getSplitTag, processData, validatesaveErrorFile, setImportRow, setStopOnError, updateProgresspublic FlatFileLoaderImpl(boolean preview,
boolean fromClient,
java.lang.String delimiter,
java.lang.String textQualifier,
boolean isFileExtract,
java.lang.String fileName,
java.lang.String processOwner)
throws MXException,
java.rmi.RemoteException
preview - boolean indicating whether it is a UI preview mode or not.fromClient - boolean indicating whether it is from UI import or crontaskdelimiter - delimiter chanracter for flatfiletextQualifier - Text QualifierisFileExtract - Indicates when File Extract feature is desiredfileName - File name under process (used by file extract functionality)processOwner - Owner of this file load process (used by file extract functionality)MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic FlatFileLoaderImpl(boolean preview,
java.lang.String delimiter,
java.lang.String textQualifier,
java.lang.String action,
java.lang.String transLangCode)
throws MXException,
java.rmi.RemoteException
preview - boolean indicating whether it is a UI preview mode or not.delimiter - delimiter chanracter for flatfiletextQualifier - Text Qualifieraction - action - Add,AddChange,Change, Replace, DeletetransLangCode - Lang CodeMXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic void processFlatData(java.io.InputStream inStream,
java.lang.String extSystemName,
java.lang.String entServiceName,
java.lang.Object recoveryService,
MboRemote npMbo)
throws MXException
inStream - InputStream of the file to be processedextSystemName - External System NameentServiceName - Enterprise Service namerecoveryService - Recovery Service objectMXExceptionpublic void writeToFile(int lineNum)
throws java.io.IOException,
MXException
LineCount - of last record processedMXExceptionjava.io.IOException