jp.ne.mki.unofficial.filetransfer.client
クラス FileUploadRule

java.lang.Object
  拡張jp.ne.mki.wedge.rule.base.AbstractBase
      拡張jp.ne.mki.wedge.rule.base.AbstractCommon
          拡張jp.ne.mki.unofficial.filetransfer.client.FileUploadRule
すべての実装インタフェース:
jp.ne.mki.wedge.rule.base.interfaces.CommonInterface, jp.ne.mki.wedge.run.interfaces.RuleEngineInterface

public class FileUploadRule
extends jp.ne.mki.wedge.rule.base.AbstractCommon

ファイルアップロード(サンプルプログラム)

FileUploadServletに接続し、ファイルをアップロードする。
FileUploadServletのURLはパラメータかもしくは定数ファイルに "FileUploadServletURL"というKey項目で記述する。


[I/O RECORD]

InputRecord OutputRecord
  1. クライアントの保存ファイル名
  1. サーバファイル名

[RULE PARAMETER]

Parameter 接続先URL(省略可能)


フィールドの概要
 
クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承したフィールド
controlRecord, errorMessage, executeType, id, inputRecord, logicalName, outputRecord, physicalName, ruleParameter, ruleType, serverParameter, userConstant
 
インタフェース jp.ne.mki.wedge.rule.base.interfaces.CommonInterface から継承したフィールド
CANCEL, ERROR, EXECUTE_BOTH, EXECUTE_CLIENT, EXECUTE_HTMLGATEWAY, EXECUTE_SERVER, EXECUTE_SERVERDC, IO_ERROR, IO_ERROR_EXECUTE_PARAMETER, IO_ERROR_IN, IO_ERROR_IO_MUST_SAME_COUNT, IO_ERROR_ITEM_TYPE, IO_ERROR_OUT, IO_ERROR_PARAMETER, OK, PARAMETER_DELIMITER, SKIP, USER_ERROR
 
コンストラクタの概要
FileUploadRule()
           
 
メソッドの概要
 int execute()
           
 void exit()
           
 int getIOParameter()
           
 
クラス jp.ne.mki.wedge.rule.base.AbstractCommon から継承したメソッド
setHtmlManager, setManager, setServerControlData, setWedgeLog, showErrorDialog, terminate, writeErrorLog, writeLog, writeLog
 
クラス jp.ne.mki.wedge.rule.base.AbstractBase から継承したメソッド
callDispose, createErrorMessage, dispose, executeRule, getAppAccount, getAppAuthority, getAppMenu, getAppPassword, getClassErrorName, getClientId, getConnectionId, getConnectionPoolId, getConstantValue, getDbAccessCount, getDbErrorCode, getDbErrorMessage, getDbStatus, getDbUpdatedRecordCount, getErrorMessage, getErrorMessage, getExceptionMessage, getExecuteType, getId, getInRecord, getInRecord, getInRecord, getInRecordCount, getIpAddress_G_Index, getIpAddress_P_Index, getLogicalErrorName, getLogicalName, getOutputHtml, getOutRecord, getOutRecord, getOutRecord, getOutRecordCount, getPhysicalErrorName, getPhysicalName, getProjectId, getQueryEndLine, getQueryMaxCount, getQueryPageCount, getQueryStartLine, getReturnString, getRuleParameter, getRuleParameters, getRuleParameters, getRuleParameters, getRuleType, getRuleTypeName, getServerMessage, getServerParameter, getServerStatus, getServerSubName, getServerSubRevision, getServerTran, getUpdateErrorLine, getUpdateTargetCount, getWebServerIpAddress, isExecutable, loopInOutRecord, loopInOutRecordSub, loopInRecord, loopInRecordSub, loopOutRecord, loopOutRecordSub, setControlRecord, setErrorMessageMustInRecord, setErrorMessageMustOutRecord, setErrorMessageMustParamIsNumber, setExecuteType, setId, setInRecord, setLogicalName, setOutputHtml, setOutRecord, setPhysicalName, setPropertyFromEngine, setRuleParameter, setRuleType, setServerParameter, setUserConstant, showErrorDialogAddRuleName, writeTraceLog
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FileUploadRule

public FileUploadRule()
メソッドの詳細

getIOParameter

public int getIOParameter()
                   throws java.lang.Throwable
例外:
java.lang.Throwable

execute

public int execute()
            throws java.lang.Throwable
例外:
java.lang.Throwable

exit

public void exit()
          throws java.lang.Throwable
例外:
java.lang.Throwable