com.generationjava.net
Class UrlW

java.lang.Object
  extended bycom.generationjava.net.UrlW

public class UrlW
extends Object


Constructor Summary
UrlW()
           
 
Method Summary
static InputStream doPost(String urlStr, String data)
           
static Object getContent(InputStream in)
           
static Object getContent(String urlStr)
           
static Object getContent(URL url)
           
static URL makeUrl(String urlStr)
           
static InputStream openUrlStream(String urlStr)
           
static InputStream openUrlStream(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlW

public UrlW()
Method Detail

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.