public class RemoteDocument
extends java.lang.Object
Constructor and Description |
---|
RemoteDocument(java.lang.String myDocIdWithoutRevision,
java.lang.String myRevision,
java.lang.String myUserName,
java.lang.String myPassWord,
java.lang.String myZipEntryPath)
Constructor of RemoteDcoument
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocIdWithoutRevsion()
Method to get docidWithout revision
|
java.lang.String |
getDocType()
Method to get docType
|
java.lang.String |
getRevision()
Method to get revsion
|
void |
readDocumentFromRemoteServer(javax.servlet.ServletOutputStream outPut)
Method to read both xml and data file from remote server
and put the output into the given output stream
|
void |
readDocumentFromRemoteServerByZip(java.util.zip.ZipOutputStream outPut)
Method to read both xml and data file from remote server by zip output
and put the output into the given output stream
|
public RemoteDocument(java.lang.String myDocIdWithoutRevision, java.lang.String myRevision, java.lang.String myUserName, java.lang.String myPassWord, java.lang.String myZipEntryPath) throws java.lang.Exception
myDocIdWithoutRevision,
- Docid for this documentmyRevision,
- revision number for this documentmyUserName,
- the user who require this documentmyGroup,
- the gourps the user belong tomyPassWord,
- the password of the usermyOutPut,
- the output stream the document will be putmyZipEntryPath,
- the base line for zip entryjava.lang.Exception
public java.lang.String getDocIdWithoutRevsion()
public java.lang.String getRevision()
public java.lang.String getDocType()
public void readDocumentFromRemoteServer(javax.servlet.ServletOutputStream outPut) throws java.lang.Exception
outPut,
- the serverlstoutputStream which the remote document or
data file need to put.java.lang.Exception
public void readDocumentFromRemoteServerByZip(java.util.zip.ZipOutputStream outPut) throws java.lang.Exception
outPut,
- the serverlstoutputStream which the remote document or
data file need to put.java.lang.Exception
Copyright © 2020 Regents of the University of California. All Rights Reserved.