|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tassl.application.utils.CommonUtils
public class CommonUtils
Constructor Summary | |
---|---|
CommonUtils()
|
Method Summary | |
---|---|
static void |
closeInOut(java.io.DataInputStream in,
java.io.DataOutputStream out)
|
static int |
execute(java.lang.String command)
Execute a system command and returns output status. |
static java.lang.String[] |
execute(java.lang.String command,
boolean background)
Executes a system command |
static java.io.DataOutputStream |
getOutput(java.lang.String address,
int port)
Get a socket connection with address and port. |
static java.lang.Object[] |
getOutputInput(java.lang.String address,
int port)
Get a socket connection with address and port. |
static java.lang.Object[] |
getOutputInput(java.lang.String address,
int port,
boolean skiplogs)
Get a socket connection with address and port. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonUtils()
Method Detail |
---|
public static java.io.DataOutputStream getOutput(java.lang.String address, int port)
address
- port
-
public static java.lang.Object[] getOutputInput(java.lang.String address, int port)
address
- port
-
public static java.lang.Object[] getOutputInput(java.lang.String address, int port, boolean skiplogs)
address
- port
- skiplogs
-
public static void closeInOut(java.io.DataInputStream in, java.io.DataOutputStream out)
public static int execute(java.lang.String command)
command
-
public static java.lang.String[] execute(java.lang.String command, boolean background)
command
- background
- Whether it waits for the command to finish or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |