net.sac.web.parser
Class ParserUtil

java.lang.Object
  extended by net.sac.web.parser.ParserUtil

public class ParserUtil
extends java.lang.Object


Method Summary
static java.util.List<java.lang.String> extractIPAddresses(java.net.URLConnection urlConnection)
           
static java.lang.String getContentAsString(java.net.URLConnection urlConnection)
           
static java.util.Map<java.lang.String,java.lang.String> getFormValues(org.htmlparser.tags.FormTag formTag, java.util.List<FormInputValue> formInputValues)
           
static void logURLContents(java.net.URLConnection urlConnection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFormValues

public static final java.util.Map<java.lang.String,java.lang.String> getFormValues(org.htmlparser.tags.FormTag formTag,
                                                                                   java.util.List<FormInputValue> formInputValues)

extractIPAddresses

public static final java.util.List<java.lang.String> extractIPAddresses(java.net.URLConnection urlConnection)
                                                                 throws java.io.IOException
Throws:
java.io.IOException

getContentAsString

public static final java.lang.String getContentAsString(java.net.URLConnection urlConnection)
                                                 throws java.io.IOException
Throws:
java.io.IOException

logURLContents

public static final void logURLContents(java.net.URLConnection urlConnection)
                                 throws java.io.IOException
Throws:
java.io.IOException