⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 remoteif_stub.java

📁 手机控制邮件以及附件的发送
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
// This class was generated by 172 StubGenerator.// Contents subject to change without notice.// @generatedpackage remote.connector;import javax.xml.rpc.JAXRPCException;import javax.xml.namespace.QName;import javax.microedition.xml.rpc.Operation;import javax.microedition.xml.rpc.Type;import javax.microedition.xml.rpc.ComplexType;import javax.microedition.xml.rpc.Element;public class RemoteIF_Stub implements remote.connector.RemoteIF, javax.xml.rpc.Stub {	private String[] _propertyNames;	private Object[] _propertyValues;	public RemoteIF_Stub() {		_propertyNames = new String[] {ENDPOINT_ADDRESS_PROPERTY};		_propertyValues = new Object[] {"REPLACE_WITH_ACTUAL_URL"};	}	public void _setProperty(String name, Object value) {		int size = _propertyNames.length;		for (int i = 0; i < size; ++i) {			if (_propertyNames[i].equals(name)) {				_propertyValues[i] = value;				return;			}		}		// Need to expand our array for a new property		String[] newPropNames = new String[size + 1];		System.arraycopy(_propertyNames, 0, newPropNames, 0, size);		_propertyNames = newPropNames;		Object[] newPropValues = new Object[size + 1];		System.arraycopy(_propertyValues, 0, newPropValues, 0, size);		_propertyValues = newPropValues;		_propertyNames[size] = name;		_propertyValues[size] = value;	}	public Object _getProperty(String name) {		for (int i = 0; i < _propertyNames.length; ++i) {			if (_propertyNames[i].equals(name)) {				return _propertyValues[i];			}		}		if (ENDPOINT_ADDRESS_PROPERTY.equals(name) || USERNAME_PROPERTY.equals(name) || PASSWORD_PROPERTY.equals(name)) {			return null;		}		if (SESSION_MAINTAIN_PROPERTY.equals(name)) {			return new java.lang.Boolean(false);		}		throw new JAXRPCException("Stub does not recognize property: "+name);	}	protected void _prepOperation(Operation op) {		for (int i = 0; i < _propertyNames.length; ++i) {			op.setProperty(_propertyNames[i], _propertyValues[i].toString());		}	}	// 	//  Begin user methods	// 	public boolean checkUserValid(java.lang.String string_1, java.lang.String string_2, java.lang.String string_3) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[3];		inputObject[0] = string_1;		inputObject[1] = string_2;		inputObject[2] = string_3;		Operation op = Operation.newInstance(_qname_remote_wsdl_checkUserValid, _type_checkUserValid, _type_checkUserValidResponse);		_prepOperation(op);		op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");		Object resultObj;		try {			resultObj = op.invoke(inputObject);		} catch (JAXRPCException e) {			Throwable cause = e.getLinkedCause();			if (cause instanceof java.rmi.RemoteException) {				throw (java.rmi.RemoteException) cause;			}			throw e;		}		boolean result;		// Convert the result into the right Java type.		// Unwrapped return value		Object resultObj2 = ((Object[])resultObj)[0];		result = ((java.lang.Boolean)resultObj2).booleanValue();		return result;	}	public java.lang.String[] getDirList(java.lang.String string_1, java.lang.String string_2, java.lang.String string_3) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[3];		inputObject[0] = string_1;		inputObject[1] = string_2;		inputObject[2] = string_3;		Operation op = Operation.newInstance(_qname_remote_wsdl_getDirList, _type_getDirList, _type_getDirListResponse);		_prepOperation(op);		op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");		Object resultObj;		try {			resultObj = op.invoke(inputObject);		} catch (JAXRPCException e) {			Throwable cause = e.getLinkedCause();			if (cause instanceof java.rmi.RemoteException) {				throw (java.rmi.RemoteException) cause;			}			throw e;		}		java.lang.String[] result;		// Convert the result into the right Java type.		// Unwrapped return value		Object resultObj2 = ((Object[])resultObj)[0];		result = (java.lang.String[]) resultObj2;		return result;	}	public java.lang.String[] getDriveList(java.lang.String string_1) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[1];		inputObject[0] = string_1;		Operation op = Operation.newInstance(_qname_remote_wsdl_getDriveList, _type_getDriveList, _type_getDriveListResponse);		_prepOperation(op);		op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");		Object resultObj;		try {			resultObj = op.invoke(inputObject);		} catch (JAXRPCException e) {			Throwable cause = e.getLinkedCause();			if (cause instanceof java.rmi.RemoteException) {				throw (java.rmi.RemoteException) cause;			}			throw e;		}		java.lang.String[] result;		// Convert the result into the right Java type.		// Unwrapped return value		Object resultObj2 = ((Object[])resultObj)[0];		result = (java.lang.String[]) resultObj2;		return result;	}	public boolean getFileDetails(java.lang.String string_1, java.lang.String string_2) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[2];		inputObject[0] = string_1;		inputObject[1] = string_2;		Operation op = Operation.newInstance(_qname_remote_wsdl_getFileDetails, _type_getFileDetails, _type_getFileDetailsResponse);		_prepOperation(op);		op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");		Object resultObj;		try {			resultObj = op.invoke(inputObject);		} catch (JAXRPCException e) {			Throwable cause = e.getLinkedCause();			if (cause instanceof java.rmi.RemoteException) {				throw (java.rmi.RemoteException) cause;			}			throw e;		}		boolean result;		// Convert the result into the right Java type.		// Unwrapped return value		Object resultObj2 = ((Object[])resultObj)[0];		result = ((java.lang.Boolean)resultObj2).booleanValue();		return result;	}	public java.lang.String[] getFileList(java.lang.String string_1, java.lang.String string_2, java.lang.String string_3) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[3];		inputObject[0] = string_1;		inputObject[1] = string_2;		inputObject[2] = string_3;		Operation op = Operation.newInstance(_qname_remote_wsdl_getFileList, _type_getFileList, _type_getFileListResponse);		_prepOperation(op);		op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");		Object resultObj;		try {			resultObj = op.invoke(inputObject);		} catch (JAXRPCException e) {			Throwable cause = e.getLinkedCause();			if (cause instanceof java.rmi.RemoteException) {				throw (java.rmi.RemoteException) cause;			}			throw e;		}		java.lang.String[] result;		// Convert the result into the right Java type.		// Unwrapped return value		Object resultObj2 = ((Object[])resultObj)[0];		result = (java.lang.String[]) resultObj2;		return result;	}	public long getFileSize(java.lang.String string_1, java.lang.String string_2) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[2];		inputObject[0] = string_1;		inputObject[1] = string_2;		Operation op = Operation.newInstance(_qname_remote_wsdl_getFileSize, _type_getFileSize, _type_getFileSizeResponse);		_prepOperation(op);		op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");		Object resultObj;		try {			resultObj = op.invoke(inputObject);		} catch (JAXRPCException e) {			Throwable cause = e.getLinkedCause();			if (cause instanceof java.rmi.RemoteException) {				throw (java.rmi.RemoteException) cause;			}			throw e;		}		long result;		// Convert the result into the right Java type.		// Unwrapped return value		Object resultObj2 = ((Object[])resultObj)[0];		result = ((java.lang.Long)resultObj2).longValue();		return result;	}	public boolean getHidden(java.lang.String string_1) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[1];		inputObject[0] = string_1;		Operation op = Operation.newInstance(_qname_remote_wsdl_getHidden, _type_getHidden, _type_getHiddenResponse);		_prepOperation(op);		op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");		Object resultObj;		try {			resultObj = op.invoke(inputObject);		} catch (JAXRPCException e) {			Throwable cause = e.getLinkedCause();			if (cause instanceof java.rmi.RemoteException) {				throw (java.rmi.RemoteException) cause;			}			throw e;		}		boolean result;		// Convert the result into the right Java type.		// Unwrapped return value		Object resultObj2 = ((Object[])resultObj)[0];		result = ((java.lang.Boolean)resultObj2).booleanValue();		return result;	}	public java.lang.String getModified(java.lang.String string_1, java.lang.String string_2) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[2];		inputObject[0] = string_1;		inputObject[1] = string_2;		Operation op = Operation.newInstance(_qname_remote_wsdl_getModified, _type_getModified, _type_getModifiedResponse);		_prepOperation(op);		op.setProperty(Operation.SOAPACTION_URI_PROPERTY, "");		Object resultObj;		try {			resultObj = op.invoke(inputObject);		} catch (JAXRPCException e) {			Throwable cause = e.getLinkedCause();			if (cause instanceof java.rmi.RemoteException) {				throw (java.rmi.RemoteException) cause;			}			throw e;		}		java.lang.String result;		// Convert the result into the right Java type.		// Unwrapped return value		Object resultObj2 = ((Object[])resultObj)[0];		result = (java.lang.String)resultObj2;		return result;	}	public boolean getPreview(java.lang.String string_1, java.lang.String string_2, java.lang.String string_3) throws java.rmi.RemoteException {		// Copy the incoming values into an Object array if needed.		Object[] inputObject = new Object[3];		inputObject[0] = string_1;		inputObject[1] = string_2;		inputObject[2] = string_3;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -