Свойство | Тип | Описание | |
---|---|---|---|
BufferSize | int |
Метод | Описание | |
---|---|---|
Extract ( String str, String token1, String token2, int index ) : String |
This method is very useful for grabbing information from a HTML page.
|
|
ExtractFromIndex ( String str, String token1, String token2, int index, int occurence ) : String |
This method is very useful for grabbing information from a HTML page.
|
|
LoadPage ( |
Load the specified web page into a string.
|
|
POSTPage ( |
Post to a page.
|
|
POSTPage ( |
Post bytes to a page.
|
|
POSTPage ( |
Post to a page.
|
Метод | Описание | |
---|---|---|
BotUtil ( ) : System |
Private constructor.
|
public static Extract ( String str, String token1, String token2, int index ) : String | ||
str | String | The string to search. |
token1 | String | The text, or tag, that comes before the desired text. |
token2 | String | The text, or tag, that comes after the desired text. |
index | int | Which occurrence of token1 to use, 1 for the first. |
Результат | String |
public static ExtractFromIndex ( String str, String token1, String token2, int index, int occurence ) : String | ||
str | String | The string to search. |
token1 | String | The text, or tag, that comes before the desired text |
token2 | String | The text, or tag, that comes after the desired text |
index | int | Index in the string to start searching from. |
occurence | int | What occurence. |
Результат | String |
public static LoadPage ( |
||
url | The url to load. | |
Результат | String |
public static POSTPage ( |
||
uri | The URI to post to. | |
param | String>.IDictionary | The post params. |
Результат | String |
public static POSTPage ( |
||
uri | The URI to post to. | |
bytes | byte | The bytes to post. |
length | int | The length of the posted data. |
Результат | String |
public static POSTPage ( |
||
uri | The URI to post to. | |
stream | Stream | The stream. |
Результат | string |