diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2001-10-01 07:46:45 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2001-10-01 07:46:45 +0000 |
| commit | 2a07626aa8dcf601eb575cac4c8817fa0e8e245e (patch) | |
| tree | 997369d285ee134226b75c47e211296bb92e332b /java/test.java | |
| parent | 91275548528859f882c87c2131d3c96a0abd5938 (diff) | |
moved to the java module
Diffstat (limited to 'java/test.java')
| -rw-r--r-- | java/test.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/java/test.java b/java/test.java deleted file mode 100644 index 33da88030..000000000 --- a/java/test.java +++ /dev/null @@ -1,27 +0,0 @@ -import CurlGlue; -import CurlWrite; - -class test implements CurlWrite { - public int handleString(byte s[]) - { - /* output everything */ - System.out.println("IIIIIIIIIII -------------- OOOOOOOOOOOOOOOOOOO"); - try { - System.out.write(s); - } - catch (java.io.IOException moo) { - // nothing - } - return 0; - } - - public static void main(String[] args) - { - CurlGlue cg = new CurlGlue(); - test cw = new test(); - cg.setopt(CurlGlue.CURLOPT_URL, "http://www.contactor.se/"); - cg.setopt(CurlGlue.CURLOPT_WRITEFUNCTION, cw); - cg.perform(); - } -} - |
