|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.monkeycoder.monkeynetwork.NetworkProtocol
public class NetworkProtocol
This class contains definitions of protocols supported by MonkeyNetwork.
| Field Summary | |
|---|---|
static int |
PROTOCOL_FTP
File Transfer Protocol. |
static int |
PROTOCOL_HTTP
Hypertext Transport Protocol 1.1. |
static int |
PROTOCOL_NONE
Unknown or No protocol. |
static java.lang.String[] |
protocolFullName
Full name of each protocol. |
static java.lang.String[] |
protocolName
Textual representation of each protocol. |
static int[] |
protocolPort
Default access port for this protocol. |
static java.lang.String[] |
protocolRfc
RFC of each protocol for informational purposes. |
static java.lang.String[] |
protocolUrl
Start of a URL using each protocol. |
| Method Summary | |
|---|---|
static int |
getProtocol(java.lang.String inProtocolUrl)
Get the protocol number based on a pre-trimmed protocol portion of a URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int PROTOCOL_NONE
public static final int PROTOCOL_HTTP
public static final int PROTOCOL_FTP
public static final java.lang.String[] protocolName
public static final java.lang.String[] protocolUrl
public static final int[] protocolPort
public static final java.lang.String[] protocolFullName
public static final java.lang.String[] protocolRfc
| Method Detail |
|---|
public static int getProtocol(java.lang.String inProtocolUrl)
inProtocolUrl - A pre-trimmed protocol portion of a URL.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||