com.ibm.workplace.wcm.api
Class EmbeddedImageMap

java.lang.Object
  extended bycom.ibm.workplace.wcm.api.EmbeddedImageMap

public class EmbeddedImageMap
extends java.lang.Object

Map for managing the embedded images for uploading into WCM.


Field Summary
static java.lang.String COPYRIGHT
          Copyright statement
 
Constructor Summary
EmbeddedImageMap()
          Default constructor
 
Method Summary
 void addImage(java.lang.String p_url, java.io.File p_image)
          Add an image URL and the binary for an image to the image map.
 boolean containsKey(java.lang.String p_url)
          Determines if the embedded image map contains the specified key.
 java.io.File getImage(java.lang.String p_url)
          Gets the image's file object for the specified URL.
 java.util.Iterator URLIterator()
          Get an iterator of all the URLs stored in this image map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright statement

See Also:
Constant Field Values
Constructor Detail

EmbeddedImageMap

public EmbeddedImageMap()
Default constructor

Method Detail

addImage

public void addImage(java.lang.String p_url,
                     java.io.File p_image)
Add an image URL and the binary for an image to the image map.

Parameters:
p_url - the URL string
p_image - the file object of the image

URLIterator

public java.util.Iterator URLIterator()
Get an iterator of all the URLs stored in this image map.

Returns:
iterator p_image

getImage

public java.io.File getImage(java.lang.String p_url)
Gets the image's file object for the specified URL.

Parameters:
p_url -
Returns:
the file object of the image

containsKey

public boolean containsKey(java.lang.String p_url)
Determines if the embedded image map contains the specified key.

Parameters:
p_url -
Returns:
Returns true if embedded image map contains the key, or returns false if it does not.