public static class ShellUtils.CommandResult extends Object
result means result of command, 0 means normal, else means error, same to excute in
linux shellsuccessMsg means success message of command resulterrorMsg means error message of command result| 限定符和类型 | 字段和说明 |
|---|---|
String |
errorMsg
error message of command result
|
int |
result
result of command
|
String |
successMsg
success message of command result
|
| 构造器和说明 |
|---|
ShellUtils.CommandResult(int result) |
ShellUtils.CommandResult(int result,
String successMsg,
String errorMsg) |
Copyright © 2012-2014. All Rights Reserved.