org.erowid.sperowider
Class Rectifier

java.lang.Object
  extended byorg.erowid.sperowider.Rectifier

public class Rectifier
extends Object

Once the files are downloaded, the rectifier does a second pass and converts all of the URLs to local URLs, flattening redirects, making them all relative, etc.

Version:
$Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperowider/Rectifier.java,v 1.9 2005/01/15 23:26:15 gurustu Exp $
Author:
Stu Statman

Constructor Summary
Rectifier(SperowiderContext context)
          Creates a new Rectifier, that uses AHandler objects from the HandlerPool to rectify a file.
 
Method Summary
 void rectify(String filename)
          Rectify a given file on the local filesystem.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Rectifier

public Rectifier(SperowiderContext context)
Creates a new Rectifier, that uses AHandler objects from the HandlerPool to rectify a file.

Method Detail

rectify

public void rectify(String filename)
Rectify a given file on the local filesystem.


spero logo small Sperowider is
© 2005 Erowid.org