iglu.net
Class NetUtils

java.lang.Object
  |
  +--iglu.net.NetUtils

public class NetUtils
extends java.lang.Object


Constructor Summary
private NetUtils()
           
 
Method Summary
static java.lang.String dateCookie(long days)
          Returns a string suitable to return as the expire date for a cookie.
static java.lang.String getText(java.lang.String urlString)
          gets the content of the url as a string if its html text
static void main(java.lang.String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetUtils

private NetUtils()
Method Detail

dateCookie

public static java.lang.String dateCookie(long days)
Returns a string suitable to return as the expire date for a cookie. The date will be days from now


getText

public static java.lang.String getText(java.lang.String urlString)
gets the content of the url as a string if its html text


main

public static void main(java.lang.String[] argv)