|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ipdr.ftp.URIUtils
public class URIUtils
This class provides utility methods related to URL. One can get a URL object from a string and can get an InputStream object from a specified URL.
| Constructor Summary | |
|---|---|
URIUtils()
|
|
| Method Summary | |
|---|---|
static java.io.InputStream |
getFileStreamFromURL(java.lang.String urlString)
This method returns the InputStream object for the file specified by the URL string. |
static java.net.URL |
getURLFromString(java.lang.String urlString)
This method returns the URL object for the string passed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URIUtils()
| Method Detail |
|---|
public static java.net.URL getURLFromString(java.lang.String urlString)
throws IPDRFTPException
This method returns the URL object for the string passed. This is used by Consumer.
urlString - String containing the URL of a file.
IPDRFTPException
public static java.io.InputStream getFileStreamFromURL(java.lang.String urlString)
throws IPDRFTPException
This method returns the InputStream object for the file specified by the URL string. This is a utility method
urlString - String containing the URL of a file.
IPDRFTPException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||