downloadresponse.java
来自「openacs source for CPE wan management」· Java 代码 · 共 44 行
JAVA
44 行
/*
* DownloadResponse.java
*
* Created on Antradienis, 2007, Lapkri鑙o 20, 19.03
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package org.openacs.message;
import org.openacs.Message;
import javax.xml.soap.SOAPBodyElement;
import javax.xml.soap.SOAPException;
import javax.xml.soap.SOAPFactory;
/**
*
* @author Administrator
*/
public class DownloadResponse extends Message {
/** Creates a new instance of DownloadResponse */
public DownloadResponse() {
}
protected void createBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {
}
protected void parseBody(SOAPBodyElement body, SOAPFactory spf) throws SOAPException {
StartTime = getRequestElement (spf, body, "StartTime");
CompleteTime = getRequestElement (spf, body, "CompleteTime");
Status = Integer.parseInt(getRequestElement (spf, body, "Status"));
}
public String toString () {
String s = "DownloadResponse: Status = "+Status+" StartTime "+StartTime+" CompleteTime "+CompleteTime;
return s;
}
public String StartTime;
public String CompleteTime;
public int Status;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?