public class FlatFileLoaderImpl extends FileLoaderImpl
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,
RecoveryService recoveryService,
MboRemote npMbo)
Process Flat file.
|
void |
writeToFile(int lineNum)
writeToFile - Apple apar 250636
|
getExtractOutputFile, processData
setImportRow, setStopOnError
public 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, RecoveryService recoveryService, MboRemote npMbo) throws MXException
inStream
- InputStream of the file to be processedextSystemName
- External System NameentServiceName
- Enterprise Service namerecoveryService
- Recovery Service objectMXException
public void writeToFile(int lineNum) throws java.io.IOException, MXException
LineCount
- of last record processedMXException
java.io.IOException