thredds.util
Class DodsURLExtractor

java.lang.Object
  extended by thredds.util.DodsURLExtractor

public class DodsURLExtractor
extends Object


Constructor Summary
DodsURLExtractor()
          Constructor
 
Method Summary
 ArrayList extract(String url)
          Extract all A-HREF contained URLS from the given URL and return in List
 String getTextContent(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 ArrayList extract(String url)
                  throws IOException
Extract all A-HREF contained URLS from the given URL and return in List

Throws:
IOException

getTextContent

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

Throws:
IOException


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.