org.erowid.sperowider
Class GenericHandler

java.lang.Object
  extended byorg.erowid.sperowider.AHandler
      extended byorg.erowid.sperowider.GenericHandler

public class GenericHandler
extends AHandler

This class downloads generically. No spidering, etc.

Version:
: $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperowider/GenericHandler.java,v 1.7 2005/01/15 23:26:15 gurustu Exp $
Author:
: $Author: gurustu $

Constructor Summary
GenericHandler()
           
 
Method Summary
 void download(HttpURLConnection connection, String fileName, String originalURL)
          Does a bytewise download of the file, with no manipulation, no indications for rectifying, and in a thread.
 void rectify(String filename)
          Does nothing.
 
Methods inherited from class org.erowid.sperowider.AHandler
addURLToModel, getFileOutputStream, getReplaceableFilenameSuffixes, getRequiredFilenamePrefix, getRequiredFilenameSuffix, getSperowiderContext, setSperowiderContext, stampFile, urlFoundInRectify, urlFoundInSpider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericHandler

public GenericHandler()
Method Detail

download

public void download(HttpURLConnection connection,
                     String fileName,
                     String originalURL)
Does a bytewise download of the file, with no manipulation, no indications for rectifying, and in a thread.

Specified by:
download in class AHandler

rectify

public void rectify(String filename)
Does nothing.

Specified by:
rectify in class AHandler

spero logo small Sperowider is
© 2005 Erowid.org