我正在集成Apple Reporter.jar来下载我的应用程序销售报告,但它抱怨我的参数太少或太多。
Too few or too many parameters specified for the method. Call ApplicationName.getHelp for a list of valid methods and their parameters.
当我打电话时Sales.getHelp它告诉我参数应该是:
Usage: java -jar Reporter.jar p=[properties file] m=["Normal"|"Robot.XML"] a=[account number] Sales.[command] [arguments]
where commands include:
getHelp: Returns this help message. No arguments.
getStatus: Returns status of Sales and Trends application. No arguments.
getAccounts: Returns list of available accounts. No arguments.
getVendors: Returns list of available vendor numbers. No arguments.
getReport: Downloads a report. …Run Code Online (Sandbox Code Playgroud)