pt.tumba.parser
Class ImageLinks

java.lang.Object
  extended by pt.tumba.parser.ImageLinks

public class ImageLinks
extends java.lang.Object

Author:
Bruno Martins

Field Summary
private  java.util.Map images
           
 
Constructor Summary
protected ImageLinks()
           
 
Method Summary
protected  void addImage(java.lang.String url, java.lang.String alt)
           
 java.lang.String getCaption(java.lang.String url2)
          Gets the caption attribute of the HTMLParser object
 java.lang.String getCaption(java.net.URL url)
          Gets the caption attribute of the HTMLParser object
 java.util.Iterator getCaptions()
          Description of the Method
 java.util.Map getImageMap()
          Description of the Method
 java.util.Iterator getImages()
          Description of the Method
 int getNumImages()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

images

private java.util.Map images
Constructor Detail

ImageLinks

protected ImageLinks()
Method Detail

getImageMap

public java.util.Map getImageMap()
Description of the Method

Returns:
Description of the Return Value

getImages

public java.util.Iterator getImages()
Description of the Method

Returns:
Description of the Return Value

getNumImages

public int getNumImages()
Description of the Method

Returns:
Description of the Return Value

getCaption

public java.lang.String getCaption(java.lang.String url2)
Gets the caption attribute of the HTMLParser object

Parameters:
url - Description of the Parameter
Returns:
The caption value

getCaption

public java.lang.String getCaption(java.net.URL url)
Gets the caption attribute of the HTMLParser object

Parameters:
url - Description of the Parameter
Returns:
The caption value

getCaptions

public java.util.Iterator getCaptions()
Description of the Method

Returns:
Description of the Return Value

addImage

protected void addImage(java.lang.String url,
                        java.lang.String alt)