org.xhtmlrenderer.resource
Class ImageResource

java.lang.Object
  extended by org.xhtmlrenderer.resource.AbstractResource
      extended by org.xhtmlrenderer.resource.ImageResource
All Implemented Interfaces:
Resource

public class ImageResource
extends AbstractResource

Author:
Administrator

Constructor Summary
ImageResource(String uri, FSImage img)
           
 
Method Summary
 FSImage getImage()
           
 String getImageUri()
           
 boolean hasDimensions(int width, int height)
           
 boolean isLoaded()
           
 
Methods inherited from class org.xhtmlrenderer.resource.AbstractResource
getElapsedLoadTime, getResourceInputSource, getResourceLoadTimeStamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageResource

public ImageResource(String uri,
                     FSImage img)
Method Detail

getImage

public FSImage getImage()

isLoaded

public boolean isLoaded()

getImageUri

public String getImageUri()

hasDimensions

public boolean hasDimensions(int width,
                             int height)


Copyright © 2013. All Rights Reserved.