org.sadun.util
Class HTMLAnchorIterator.URLsCollection

java.lang.Object
  extended byorg.sadun.util.HTMLAnchorIterator.URLsCollection
Enclosing class:
HTMLAnchorIterator

public class HTMLAnchorIterator.URLsCollection
extends java.lang.Object

A classt to hold the results of a HTMLAnchorIterator HTMLAnchorIterator#getURLs()operation, containing both string URLs which can be successfully translated to URL objects and ones which can't.

Version:
1.0
Author:
Cristiano Sadun

Method Summary
 java.net.URL getContext()
           
 int getInvalidCount()
           
 java.lang.String[] getInvalidURLs()
           
 java.net.MalformedURLException getMalformedURLException(java.lang.String url)
           
 int getSize()
           
 int getValidCount()
           
 java.net.URL[] getValidURLs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSize

public int getSize()

getValidCount

public int getValidCount()

getInvalidCount

public int getInvalidCount()

getContext

public java.net.URL getContext()

getValidURLs

public java.net.URL[] getValidURLs()

getInvalidURLs

public java.lang.String[] getInvalidURLs()

getMalformedURLException

public java.net.MalformedURLException getMalformedURLException(java.lang.String url)