Java WasdiLib

public class WasdiLib

Fields

s_oMapper

protected static ObjectMapper s_oMapper

Constructors

WasdiLib

public WasdiLib()

Self constructor. If there is a config file initializes the class members

Methods

addFileToWASDI

public String addFileToWASDI(String sFileName)

Ingest a new file in the Active WASDI Workspace waiting for the result The method takes a file saved in the workspace root (see getSaveFilePath) not already added to the WS To work be sure that the file is on the server

Parameters:
  • sFileName – Name of the file to add

Returns:

Output state of the ingestion process

addParam

public void addParam(String sKey, String sParam)

Add Param

Parameters:
  • sKey

  • sParam

asynchAddFileToWASDI

public String asynchAddFileToWASDI(String sFileName)

Ingest a new file in the Active WASDI Workspace in an asynch way The method takes a file saved in the workspace root (see getSaveFilePath) not already added to the WS To work be sure that the file is on the server

Parameters:
  • sFileName – Name of the file to add

Returns:

Process Id of the ingestion process

asynchExecuteProcessor

public String asynchExecuteProcessor(String sProcessorName, HashMap<String, Object> aoParams)

Execute a WASDI processor in Asynch way

Parameters:
  • sProcessorName – Processor Name

  • aoParams – Dictionary of Params

Returns:

ProcessWorkspace Id

asynchExecuteProcessor

public String asynchExecuteProcessor(String sProcessorName, String sEncodedParams)

Execute a WASDI processor in Asynch way

Parameters:
  • sProcessorName – Processor Name

  • sEncodedParams – Already JSON Encoded Params

Returns:

ProcessWorkspace Id

asynchExecuteWorkflow

public String asynchExecuteWorkflow(String[] asInputFileName, String[] asOutputFileName, String sWorkflowName)

Executes a WASDI SNAP Workflow in a asynch mode

Parameters:
  • sInputFileName

  • sOutputFileName

  • sWorkflowName

Returns:

Workflow Process Id if every thing is ok, ‘’ if there was any problem

asynchMosaic

public String asynchMosaic(List<String> asInputFiles, String sOutputFile)

Asynch Mosaic with minimum parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

Returns:

Process id

asynchMosaic

public String asynchMosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue)

Asynch Mosaic with also Bands Parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

Returns:

Process id

asynchMosaic

public String asynchMosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands)

Asynch Mosaic with also Bands Parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

Returns:

Process id

asynchMosaic

public String asynchMosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY)

Asynch Mosaic with also Pixel Size Parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

Returns:

Process id

asynchMosaic

public String asynchMosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY, String sCrs)

Asynch Mosaic with also CRS Input

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

  • sCrs – WKT of the CRS to use

Returns:

Process id

asynchMosaic

public String asynchMosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY, String sCrs, double dSouthBound, double dNorthBound, double dEastBound, double dWestBound, String sOverlappingMethod, boolean bShowSourceProducts, String sElevationModelName, String sResamplingName, boolean bUpdateMode, boolean bNativeResolution, String sCombine)

Asynch Mosaic with all the input parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

  • sCrs – WKT of the CRS to use

  • dSouthBound – South Bound

  • dNorthBound – North Bound

  • dEastBound – East Bound

  • dWestBound – West Bound

  • sOverlappingMethod – Overlapping Method

  • bShowSourceProducts – Show Source Products Flag

  • sElevationModelName – DEM Model Name

  • sResamplingName – Resampling Method Name

  • bUpdateMode – Update Mode Flag

  • bNativeResolution – Native Resolution Flag

  • sCombine – Combine verb

Returns:

Process id

checkSession

public String checkSession(String sSessionID)

Call CheckSession API

Parameters:
  • sSessionID – actual session Id

Returns:

Session Id or “” if there are problems

copyStream

protected void copyStream(InputStream oInputStream, OutputStream oOutputStream)

copyStreamAndClose

protected void copyStreamAndClose(InputStream oInputStream, OutputStream oOutputStream)

Copy Input Stream in Output Stream

Parameters:
  • oInputStream

  • oOutputStream

Throws:

deleteProduct

public String deleteProduct(String sProduct)

Delete a Product in the active Workspace

Parameters:
  • sProduct

downloadFile

protected String downloadFile(String sFileName)

Download a file on the local PC

Parameters:
  • sFileName – File Name

Returns:

Full Path

executeWorkflow

public String executeWorkflow(String[] asInputFileName, String[] asOutputFileName, String sWorkflowName)

Executes a WASDI SNAP Workflow waiting for the process to finish

Parameters:
  • sInputFileName

  • sOutputFileName

  • sWorkflowName

Returns:

output status of the Workflow Process

getActiveWorkspace

public String getActiveWorkspace()

Get Active Workspace

getBasePath

public String getBasePath()

Set Base Path

getBaseUrl

public String getBaseUrl()

Get Base Url

getDownloadActive

public Boolean getDownloadActive()

Get Download Active flag

getFoundProductName

public String getFoundProductName(Map<String, Object> oProduct)

Get the name of a Product found by searchEOImage

Parameters:
  • oProduct – JSON Dictionary Product as returned by searchEOImage

Returns:

Name of the product

getFullProductPath

public String getFullProductPath(String sProductName)

Get the full local path of a product given the product name. Use the output of this API to open the file

Parameters:
  • sProductName – Product Name

Returns:

Product Full Path as a String ready to open file

getIsOnServer

public Boolean getIsOnServer()

Get is on server flag

getMyProcId

public String getMyProcId()

Get my own Process Id

getParam

public String getParam(String sKey)

Get Param

Parameters:
  • sKey

getParametersFilePath

public String getParametersFilePath()

Get Parameters file path

Returns:

parameters file path

getParams

public HashMap<String, String> getParams()

Get Params HashMap

Returns:

Params Dictionary

getPassword

public String getPassword()

Get Password

getPath

public String getPath(String sProductName)

Get the local path of a file

Parameters:
  • sProductName – Name of the file

Returns:

Full local path

getProcessStatus

public String getProcessStatus(String sProcessId)

Get WASDI Process Status

Parameters:
  • sProcessId – Process Id

Returns:

Process Status as a String: CREATED, RUNNING, STOPPED, DONE, ERROR, WAITING, READY

getProcessorPath

public String getProcessorPath()

Get the processor Path

getProductsByActiveWorkspace

public List<String> getProductsByActiveWorkspace()

Get a List of the products in the active Workspace

Returns:

List of Strings representing the product names

getProductsByWorkspace

public List<String> getProductsByWorkspace(String sWorkspaceName)

Get a List of the products in a Workspace

Parameters:
  • sWorkspaceName – Workspace Name

Returns:

List of Strings representing the product names

getSavePath

public String getSavePath()

Get the local Save Path to use to save custom generated files

Returns:

Local Path to use to save a custom generated file

getSessionId

public String getSessionId()

Get Session Id

getStandardHeaders

protected HashMap<String, String> getStandardHeaders()

Get the standard headers for a WASDI call

getStreamingHeaders

protected HashMap<String, String> getStreamingHeaders()

Get the headers for a Streming POST call

getUser

public String getUser()

Get User

Returns:

User

getVerbose

public Boolean getVerbose()

Get Verbose Flag

getWorkflows

public List<Map<String, Object>> getWorkflows()

Get the list of Workflows for the user Return None if there is any error Return an array of WASI Workspace JSON Objects if everything is ok: { “description”:STRING, “name”: STRING, “workflowId”: STRING }

getWorkspaceBaseUrl

public String getWorkspaceBaseUrl()

getWorkspaceIdByName

public String getWorkspaceIdByName(String sWorkspaceName)

Get Id of a Workspace from the name Return the WorkspaceId as a String, “” if there is any error

Parameters:
  • sWorkspaceName – Workspace Name

Returns:

Workspace Id if found, “” if there is any error

getWorkspaceOwnerByName

public String getWorkspaceOwnerByName(String sWorkspaceName)

Get User Id of the owner of a Workspace from the name Return the userId as a String, “” if there is any error

Parameters:
  • sWorkspaceName – Workspace Name

Returns:

User Id if found, “” if there is any error

getWorkspaceOwnerByWSId

public String getWorkspaceOwnerByWSId(String sWorkspaceId)

Get userId of the owner of a Workspace from the workspace Id Return the userId as a String, “” if there is any error

Parameters:
  • WorkspaceId – Workspace Id

Returns:

userId if found, “” if there is any error

getWorkspaces

public List<Map<String, Object>> getWorkspaces()

get the list of workspaces of the logged user

Returns:

List of Workspace as JSON representation

httpGet

public String httpGet(String sUrl, Map<String, String> asHeaders)

Http get Method Helper

Parameters:
  • sUrl – Url to call

  • asHeaders – Headers Dictionary

Returns:

Server response

httpPost

public String httpPost(String sUrl, String sPayload, Map<String, String> asHeaders)

Standard http post uility function

Parameters:
  • sUrl – url to call

  • sPayload – payload of the post

  • asHeaders – headers dictionary

Returns:

server response

importProduct

public String importProduct(Map<String, Object> oProduct)

Import a Product from a Provider in WASDI.

Parameters:
  • oProduct – Product Map JSON representation as returned by searchEOImage

Returns:

status of the Import process

importProduct

public String importProduct(String sFileUrl)

Import a Product from a Provider in WASDI.

Parameters:
  • sFileUrl – Direct link of the product

Returns:

status of the Import process

importProduct

public String importProduct(String sFileUrl, String sBoundingBox)

Import a Product from a Provider in WASDI.

Parameters:
  • sFileUrl – Direct link of the product

  • sBoundingBox – Bounding Box of the product

Returns:

status of the Import process

init

public Boolean init(String sConfigFilePath)

Init the WASDI Library starting from a configuration file

Parameters:
  • sConfigFilePath – full path of the configuration file

Returns:

True if the system is initialized, False if there is any error

init

public Boolean init()

internalAddFileToWASDI

protected String internalAddFileToWASDI(String sFileName, Boolean bAsynch)

Private version of the add file to wasdi function. Adds a generated file to current open workspace

Parameters:
  • sFileName – File Name to add to the open workspace

  • bAsynch – true if the process has to be asynch, false to wait for the result

internalExecuteWorkflow

protected String internalExecuteWorkflow(String[] asInputFileNames, String[] asOutputFileNames, String sWorkflowName, Boolean bAsynch)

Internal execute workflow

Parameters:
  • asInputFileNames

  • asOutputFileNames

  • sWorkflowName

  • bAsynch – true if asynch, false for synch

Returns:

if Asynch, the process Id else the ouput status of the workflow process

internalInit

public Boolean internalInit()

Call this after base parameters settings to init the system Needed at least: Base Path User Password or SessionId

internalMosaic

protected String internalMosaic(boolean bAsynch, List<String> asInputFiles, String sOutputFile)

Protected Mosaic with minimum parameters

Parameters:
  • bAsynch – True to return after the triggering, False to wait the process to finish

  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

Returns:

Process id or end status of the process

internalMosaic

protected String internalMosaic(boolean bAsynch, List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue)

Protected Mosaic with also nodata value parameters

Parameters:
  • bAsynch – True to return after the triggering, False to wait the process to finish

  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • sNoDataValue – Value to use in output as no data

  • sInputIgnoreValue – Value to use as input no data

Returns:

Process id or end status of the process

internalMosaic

protected String internalMosaic(boolean bAsynch, List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands)

Protected Mosaic with also Bands Parameters

Parameters:
  • bAsynch – True to return after the triggering, False to wait the process to finish

  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

Returns:

Process id or end status of the process

internalMosaic

protected String internalMosaic(boolean bAsynch, List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY)

Protected Mosaic with also Pixel Size Parameters

Parameters:
  • bAsynch – True to return after the triggering, False to wait the process to finish

  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

Returns:

Process id or end status of the process

internalMosaic

protected String internalMosaic(boolean bAsynch, List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY, String sCrs)

Protected Mosaic with also CRS Input

Parameters:
  • bAsynch – True to return after the triggering, False to wait the process to finish

  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

  • sCrs – WKT of the CRS to use

Returns:

Process id or end status of the process

internalMosaic

protected String internalMosaic(boolean bAsynch, List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY, String sCrs, double dSouthBound, double dNorthBound, double dEastBound, double dWestBound, String sOverlappingMethod, boolean bShowSourceProducts, String sElevationModelName, String sResamplingName, boolean bUpdateMode, boolean bNativeResolution, String sCombine)

Protected Mosaic with all the input parameters

Parameters:
  • bAsynch – True to return after the triggering, False to wait the process to finish

  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

  • sCrs – WKT of the CRS to use

  • dSouthBound – South Bound

  • dNorthBound – North Bound

  • dEastBound – East Bound

  • dWestBound – West Bound

  • sOverlappingMethod – Overlapping Method

  • bShowSourceProducts – Show Source Products Flag

  • sElevationModelName – DEM Model Name

  • sResamplingName – Resampling Method Name

  • bUpdateMode – Update Mode Flag

  • bNativeResolution – Native Resolution Flag

  • sCombine – Combine verb

Returns:

Process id or end status of the process

log

protected void log(String sLog)

Log

Parameters:
  • sLog – Log row

login

public String login(String sUser, String sPassword)

Call Login API

Parameters:
  • sUser

  • sPassword

mosaic

public String mosaic(List<String> asInputFiles, String sOutputFile)

Mosaic with minimum parameters: input and output files

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

Returns:

End status of the process

mosaic

public String mosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue)

Mosaic with also NoData Parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • sNoDataValue – Value to use in output as no data

  • sInputIgnoreValue – Value to use as input no data

Returns:

End status of the process

mosaic

public String mosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands)

Mosaic with also Bands Parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

Returns:

End status of the process

mosaic

public String mosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY)

Mosaic with also Pixel Size Parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

Returns:

End status of the process

mosaic

public String mosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY, String sCrs)

Mosaic with also CRS Input

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

  • sCrs – WKT of the CRS to use

Returns:

End status of the process

mosaic

public String mosaic(List<String> asInputFiles, String sOutputFile, String sNoDataValue, String sInputIgnoreValue, List<String> asBands, double dPixelSizeX, double dPixelSizeY, String sCrs, double dSouthBound, double dNorthBound, double dEastBound, double dWestBound, String sOverlappingMethod, boolean bShowSourceProducts, String sElevationModelName, String sResamplingName, boolean bUpdateMode, boolean bNativeResolution, String sCombine)

Mosaic with all the input parameters

Parameters:
  • asInputFiles – List of input files to mosaic

  • sOutputFile – Name of the mosaic output file

  • asBands – List of the bands to use for the mosaic

  • dPixelSizeX – X Pixel Size

  • dPixelSizeY – Y Pixel Size

  • sCrs – WKT of the CRS to use

  • dSouthBound – South Bound

  • dNorthBound – North Bound

  • dEastBound – East Bound

  • dWestBound – West Bound

  • sOverlappingMethod – Overlapping Method

  • bShowSourceProducts – Show Source Products Flag

  • sElevationModelName – DEM Model Name

  • sResamplingName – Resampling Method Name

  • bUpdateMode – Update Mode Flag

  • bNativeResolution – Native Resolution Flag

  • sCombine – Combine verb

Returns:

End status of the process

openWorkspace

public String openWorkspace(String sWorkspaceName)

Open a workspace

Parameters:
  • sWorkspaceName – Workspace name to open

Returns:

WorkspaceId as a String, ‘’ if there is any error

refreshParameters

public void refreshParameters()

Refresh Parameters reading again the file

searchEOImages

public List<Map<String, Object>> searchEOImages(String sPlatform, String sDateFrom, String sDateTo, Double dULLat, Double dULLon, Double dLRLat, Double dLRLon, String sProductType, Integer iOrbitNumber, String sSensorOperationalMode, String sCloudCoverage)

Search EO-Images

Parameters:
  • sPlatform – Satellite Platform. Accepts “S1”,”S2”

  • sDateFrom – Starting date in format “YYYY-MM-DD”

  • sDateTo – End date in format “YYYY-MM-DD”

  • dULLat – Upper Left Lat Coordinate. Can be null.

  • dULLon – Upper Left Lon Coordinate. Can be null.

  • dLRLat – Lower Right Lat Coordinate. Can be null.

  • dLRLon – Lower Right Lon Coordinate. Can be null.

  • sProductType – Product Type. If Platform = “S1” -> Accepts “SLC”,”GRD”, “OCN”. If Platform = “S2” -> Accepts “S2MSI1C”,”S2MSI2Ap”,”S2MSI2A”. Can be null.

  • iOrbitNumber – Sentinel Orbit Number. Can be null.

  • sSensorOperationalMode – Sensor Operational Mode. ONLY for S1. Accepts -> “SM”, “IW”, “EW”, “WV”. Can be null. Ignored for Platform “S2”

  • sCloudCoverage – Cloud Coverage. Sample syntax: [0 TO 9.4]

Returns:

List of the available products as a LIST of Dictionary representing JSON Object: { footprint = id = link = provider = Size = title = properties = < Another JSON Object containing other product-specific info > }

setActiveWorkspace

public void setActiveWorkspace(String sActiveWorkspace)

Set Active Workspace

Parameters:
  • sActiveWorkspace

setBasePath

public void setBasePath(String sBasePath)

Get Base Path

Parameters:
  • sBasePath

setBaseUrl

public void setBaseUrl(String sBaseUrl)

Set Base URl

Parameters:
  • sBaseUrl

setDownloadActive

public void setDownloadActive(Boolean bDownloadActive)

Set Download Active Flag

Parameters:
  • bDownloadActive

setIsOnServer

public void setIsOnServer(Boolean bIsOnServer)

Set is on server flag

Parameters:
  • bIsOnServer

setMyProcId

public void setMyProcId(String sMyProcId)

Set My own process ID

Parameters:
  • m_sMyProcId

setParametersFilePath

public void setParametersFilePath(String sParametersFilePath)

Set Parameters file path

Parameters:
  • sParametersFilePath – parameters file path

setPassword

public void setPassword(String sPassword)

Set Password

Parameters:
  • sPassword

setProcessPayload

public String setProcessPayload(String sProcessId, String sData)

Adds output payload to a process

Parameters:
  • sProcessId

  • sData

setSessionId

public void setSessionId(String sSessionId)

Set Session Id

Parameters:
  • sSessionId

setUser

public void setUser(String sUser)

Set User

Parameters:
  • sUser – User

setVerbose

public void setVerbose(Boolean bVerbose)

Set Verbose flag

Parameters:
  • bVerbose

setWorkspaceBaseUrl

public void setWorkspaceBaseUrl(String m_sWorkspaceBaseUrl)

subset

public String subset(String sInputFile, String sOutputFile, double dLatN, double dLonW, double dLatS, double dLonE)

Make a Subset (tile) of an input image in a specified Lat Lon Rectangle

Parameters:
  • sInputFile – Name of the input file

  • sOutputFile – Name of the output file

  • dLatN – Lat North Coordinate

  • dLonW – Lon West Coordinate

  • dLatS – Lat South Coordinate

  • dLonE – Lon East Coordinate

Returns:

Status of the operation

updateProcessStatus

public String updateProcessStatus(String sProcessId, String sStatus, int iPerc)

Update the status of a process

Parameters:
  • sProcessId – Process Id

  • sStatus – Status to set

  • iPerc – Progress in %

Returns:

updated status as a String or ‘’ if there was any problem

updateProgressPerc

public String updateProgressPerc(int iPerc)

Update the status of a process

Parameters:
  • sProcessId – Process Id

  • sStatus – Status to set

  • iPerc – Progress in %

Returns:

updated status as a String or ‘’ if there was any problem

updateStatus

public String updateStatus(String sStatus)

Update the status of the current process

Parameters:
  • sStatus – Status to set

  • iPerc – Progress in %

Returns:

updated status as a String or ‘’ if there was any problem

updateStatus

public String updateStatus(String sStatus, int iPerc)

Update the status of the current process

Parameters:
  • sStatus – Status to set

  • iPerc – Progress in %

Returns:

updated status as a String or ‘’ if there was any problem

uploadFile

public void uploadFile(String sFileName)
Parameters:
  • sFileName

waitForResume

protected void waitForResume()

Wait for a process to finish

Parameters:
  • sProcessId

waitProcess

public String waitProcess(String sProcessId)

Wait for a process to finish

Parameters:
  • sProcessId