ImgScroll/src/main/java/com/rarchives/ripme/ripper/RipperInterface.java

19 lines
630 B
Java
Raw Normal View History

package com.rarchives.ripme.ripper;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
2014-03-09 09:20:22 +01:00
/**
* I have no idea why I made this interface. Everything is captured within the AbstractRipper.
* Oh well, here's to encapsulation and abstraction! (raises glass)
*/
public interface RipperInterface {
public void rip() throws IOException;
public boolean canRip(URL url);
public URL sanitizeURL(URL url) throws MalformedURLException;
public void setWorkingDir(URL url) throws IOException;
public String getHost();
public String getGID(URL url) throws MalformedURLException;
}