public class OSJSONFileLoaderImpl extends BaseFileLoaderImpl
fileName, filetype, fromClient, isFileExtract, ispreview, stopOnError, uniqueId, userInfo| Constructor and Description |
|---|
OSJSONFileLoaderImpl(boolean preview)
Construct the set
|
OSJSONFileLoaderImpl(boolean preview,
boolean fromClient,
boolean isFileExtract,
java.lang.String fileName,
java.lang.String processOwner)
Construct the set
|
| Modifier and Type | Method and Description |
|---|---|
void |
processObjectStructureJSONData(java.io.InputStream inStream,
java.lang.String osName,
java.lang.String messageType,
MboRemote npMbo)
Process Flat file.
|
protected void |
saveErrorFile() |
processData, saveErrorFile, setImportRow, setStopOnError, updateProgresspublic OSJSONFileLoaderImpl(boolean preview,
boolean fromClient,
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 OSJSONFileLoaderImpl(boolean preview)
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 exceptionprotected void saveErrorFile()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic void processObjectStructureJSONData(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