Static Public Member Functions | |
| static BufferedReader | connect (URL url, boolean silent) throws IOException |
| static BufferedReader | connectAsMozilla (URL url, boolean silent) throws IOException |
| static String | fetch (String url, boolean silent) |
| static String | fetchUntil (String url, Pattern pattern, boolean silent) |
| static String | decode (String encoded) |
| static String | encode (String encode) |
| static void | SubmitPicture (String exsistingFileName, String ScriptSource) |
Static Package Functions | |
| static void | download (URL url, File target) throws IOException |
Definition at line 29 of file HTTPUtils.java.
| static BufferedReader org.hfbk.util.HTTPUtils.connect | ( | URL | url, | |
| boolean | silent | |||
| ) | throws IOException [static] |
connect to an URL, opening the web page.
Definition at line 36 of file HTTPUtils.java.
| static BufferedReader org.hfbk.util.HTTPUtils.connectAsMozilla | ( | URL | url, | |
| boolean | silent | |||
| ) | throws IOException [static] |
connect to an URL predicting an older mozilla version sad we need this. some pages doesn't like non-browser services.
Definition at line 55 of file HTTPUtils.java.
| static void org.hfbk.util.HTTPUtils.download | ( | URL | url, | |
| File | target | |||
| ) | throws IOException [static, package] |
Definition at line 75 of file HTTPUtils.java.
| static String org.hfbk.util.HTTPUtils.fetch | ( | String | url, | |
| boolean | silent | |||
| ) | [static] |
fetches whole content from an URL (predicting mozilla)
| silent | don't log operation to stdout |
Definition at line 100 of file HTTPUtils.java.
| static String org.hfbk.util.HTTPUtils.fetchUntil | ( | String | url, | |
| Pattern | pattern, | |||
| boolean | silent | |||
| ) | [static] |
fetches content from an URL until the given pattern matches to the last fetched line.
| url | ||
| pattern | Pattern to stop fetch. | |
| silent | don't log operation to stdout |
Definition at line 127 of file HTTPUtils.java.
| static String org.hfbk.util.HTTPUtils.decode | ( | String | encoded | ) | [static] |
convenient replacement for URLDecoder.decode
Definition at line 155 of file HTTPUtils.java.
| static String org.hfbk.util.HTTPUtils.encode | ( | String | encode | ) | [static] |
convenient replacement for URLEncoder.encode
Definition at line 166 of file HTTPUtils.java.
| static void org.hfbk.util.HTTPUtils.SubmitPicture | ( | String | exsistingFileName, | |
| String | ScriptSource | |||
| ) | [static] |
Definition at line 174 of file HTTPUtils.java.
1.5.1