|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.npdbhipdb.QRXS
public class QRXS
QRXS API and client implementation.
Nested Class Summary | |
---|---|
class |
QRXS.Configuration
QRXS configuration. |
class |
QRXS.ErrorFile
Encapsulate processing error file name and associated error code. |
(package private) static class |
QRXS.StatusCodeReference
Reference class used to associate status codes with their descriptions |
Constructor Summary | |
---|---|
QRXS()
|
Method Summary | |
---|---|
java.lang.String |
encode(java.lang.String filename,
java.lang.String password)
Encode the password and add to the properties file |
java.lang.String |
getStatusMessage()
|
static void |
main(java.lang.String[] args)
|
java.lang.String |
receive(QRXS.Configuration configuration,
java.util.List<java.lang.String> responseFilenames)
Receive responses from server, save files to download directory |
java.lang.String |
send(QRXS.Configuration configuration,
java.util.List<java.lang.String> submissionFilenames,
java.util.List<java.lang.String> responseFilenames,
java.util.List<QRXS.ErrorFile> errorFiles)
Perform the send transaction. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QRXS()
Method Detail |
---|
public java.lang.String send(QRXS.Configuration configuration, java.util.List<java.lang.String> submissionFilenames, java.util.List<java.lang.String> responseFilenames, java.util.List<QRXS.ErrorFile> errorFiles) throws QRXSException
configuration
- QRXS configurationsubmissionFilenames
- Paths of files to uploadresponseFilenames
- File names of response files received into download directoryerrorFiles
- QRXS.ErrorFile list, Upload files that were rejected outright, no response generated
QRXSException
- Error sending, receiving, or storing filespublic java.lang.String receive(QRXS.Configuration configuration, java.util.List<java.lang.String> responseFilenames) throws QRXSException
configuration
- QRXS configurationresponseFilenames
- Response filenames received
QRXSException
- Error receiving or storing filespublic java.lang.String encode(java.lang.String filename, java.lang.String password) throws QRXSException
filename
- Properties file namepassword
- Password to encode
QRXSException
- Properties file not foundpublic static void main(java.lang.String[] args)
public java.lang.String getStatusMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |