comics.core
Class ComicGrabberEngineImplementation

java.lang.Object
  extended bycomics.core.ComicGrabberEngineImplementation
All Implemented Interfaces:
ComicGrabberEngine

public class ComicGrabberEngineImplementation
extends java.lang.Object
implements ComicGrabberEngine

This class provides a generic implementation of the ComicGrabberEngine interface.

Author:
Lennart Martens

Constructor Summary
ComicGrabberEngineImplementation()
          Default constructor.
 
Method Summary
 ComicImage grabComic(java.net.URL aUrl)
          This method returns the ComicImage for the comic file at the specified URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComicGrabberEngineImplementation

public ComicGrabberEngineImplementation()
Default constructor.

Method Detail

grabComic

public ComicImage grabComic(java.net.URL aUrl)
                     throws java.io.IOException
This method returns the ComicImage for the comic file at the specified URL.

Specified by:
grabComic in interface ComicGrabberEngine
Parameters:
aUrl - URL to locate the comic image on.
Returns:
ComicImage with the filename and contents of the image.
Throws:
java.io.IOException - when something goes wrong during the retrieve.


Copyright © Lennart Martens. All Rights Reserved.