com.generationjava.net
Class UrlW

java.lang.Object
  |
  +--com.generationjava.net.UrlW

public class UrlW
extends java.lang.Object


Constructor Summary
UrlW()
           
 
Method Summary
static java.io.InputStream doPost(java.lang.String urlStr, java.lang.String data)
           
static java.lang.Object getContent(java.io.InputStream in)
           
static java.lang.Object getContent(java.lang.String urlStr)
           
static java.lang.Object getContent(java.net.URL url)
           
static java.net.URL makeUrl(java.lang.String urlStr)
           
static java.io.InputStream openUrlStream(java.lang.String urlStr)
           
static java.io.InputStream openUrlStream(java.net.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 java.io.InputStream openUrlStream(java.lang.String urlStr)
                                         throws java.io.IOException
java.io.IOException

makeUrl

public static java.net.URL makeUrl(java.lang.String urlStr)
                            throws java.net.MalformedURLException
java.net.MalformedURLException

openUrlStream

public static java.io.InputStream openUrlStream(java.net.URL url)
                                         throws java.io.IOException
java.io.IOException

getContent

public static java.lang.Object getContent(java.lang.String urlStr)
                                   throws java.io.IOException
java.io.IOException

getContent

public static java.lang.Object getContent(java.net.URL url)
                                   throws java.io.IOException
java.io.IOException

getContent

public static java.lang.Object getContent(java.io.InputStream in)
                                   throws java.io.IOException
java.io.IOException

doPost

public static java.io.InputStream doPost(java.lang.String urlStr,
                                         java.lang.String data)
                                  throws java.io.IOException
java.io.IOException


Copyright © 2000-2003 OSJava. All Rights Reserved.