public class DefaultRemoteCommand extends Object implements RemoteCommand
RemoteCommand
Constructor and Description |
---|
DefaultRemoteCommand(String command,
String[] args) |
Modifier and Type | Method and Description |
---|---|
String |
getCommandURLString()
Return the URL query string which will be sent to the browser
|
static RemoteCommand |
parse(String inputLine)
Factory method to create a RemoteCommand from a wiki-style input string
|
String |
toString() |
static String |
urlEncode(String text)
Encodes the text as an URL using UTF-8.
|
public String getCommandURLString()
RemoteCommand
getCommandURLString
in interface RemoteCommand
public static RemoteCommand parse(String inputLine)
public static String urlEncode(String text)
text
- the text too encodeURLEncoder.encode(java.lang.String, java.lang.String)
Copyright © 2012. All Rights Reserved.