org.erowid.sperowider
Class Rectifier
java.lang.Object
org.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
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 |
Rectifier
public Rectifier(SperowiderContext context)
- Creates a new Rectifier, that uses
AHandler
objects from the HandlerPool
to rectify a file.
rectify
public void rectify(String filename)
- Rectify a given file on the local filesystem.