com.generationjava.net
Class UrlW
java.lang.Object
com.generationjava.net.UrlW
- public class UrlW
- extends Object
|
Constructor Summary |
UrlW()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlW
public UrlW()
openUrlStream
public static InputStream openUrlStream(String urlStr)
throws IOException
- Throws:
IOException
makeUrl
public static URL makeUrl(String urlStr)
throws MalformedURLException
- Throws:
MalformedURLException
openUrlStream
public static InputStream openUrlStream(URL url)
throws IOException
- Throws:
IOException
getContent
public static Object getContent(String urlStr)
throws IOException
- Throws:
IOException
getContent
public static Object getContent(URL url)
throws IOException
- Throws:
IOException
getContent
public static Object getContent(InputStream in)
throws IOException
- Throws:
IOException
doPost
public static InputStream doPost(String urlStr,
String data)
throws IOException
- Throws:
IOException
Copyright © 2000-2005 OSJava. All Rights Reserved.