thredds.cataloggen.config
Class DodsURLExtractor

java.lang.Object
  extended by thredds.cataloggen.config.DodsURLExtractor

public class DodsURLExtractor
extends java.lang.Object


Constructor Summary
DodsURLExtractor()
          Constructor
 
Method Summary
 java.util.ArrayList extract(java.lang.String url)
          Extract all A-HREF contained URLS from the given URL and return in List
 java.lang.String getTextContent(java.lang.String url)
          Extract text content from the given URL and return in String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DodsURLExtractor

public DodsURLExtractor()
Constructor

Method Detail

extract

public java.util.ArrayList extract(java.lang.String url)
                            throws java.io.IOException
Extract all A-HREF contained URLS from the given URL and return in List

Throws:
java.io.IOException

getTextContent

public java.lang.String getTextContent(java.lang.String url)
                                throws java.io.IOException
Extract text content from the given URL and return in String

Throws:
java.io.IOException