public class OSFlatFileLoaderImpl extends BaseFileLoaderImpl
Constructor and Description |
---|
OSFlatFileLoaderImpl(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
|
OSFlatFileLoaderImpl(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 |
processObjectStructureFlatData(java.io.InputStream inStream,
java.lang.String osName,
java.lang.String messageType,
MboRemote npMbo)
Process Flat file.
|
void |
validateFile(java.io.InputStream inStream,
java.lang.String osName,
java.lang.String messageType,
MboRemote npMbo) |
void |
writeToFile(int lineNum)
writeToFile - Apple apar 250636
|
processData, setImportRow, setStopOnError
public OSFlatFileLoaderImpl(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 OSFlatFileLoaderImpl(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 processObjectStructureFlatData(java.io.InputStream inStream, java.lang.String osName, java.lang.String messageType, MboRemote npMbo) throws MXException
inStream
- InputStream of the file to be processedosName
- Object Structure NamenpMbo
- non persistent MboMXException
public void validateFile(java.io.InputStream inStream, java.lang.String osName, java.lang.String messageType, MboRemote npMbo) throws MXException
MXException
public void writeToFile(int lineNum) throws java.io.IOException, MXException
LineCount
- of last record processedMXException
java.io.IOException