package com.rarchives.ripme.ripper;

import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;

/**
 * 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 {

    void rip() throws IOException;

    boolean canRip(URL url);

    URL sanitizeURL(URL url) throws MalformedURLException;

    void setWorkingDir(URL url) throws IOException;

    String getHost();

    String getGID(URL url) throws MalformedURLException;

}
@@ -325,17 +325,16 @@
 rface %7B%0A
-%0A
     void
@@ -356,25 +356,24 @@
 OException;%0A
-%0A
     boolean 
@@ -389,17 +389,16 @@
 L url);%0A
-%0A
     URL 
@@ -444,25 +444,24 @@
 LException;%0A
-%0A
     void set
@@ -500,17 +500,16 @@
 eption;%0A
-%0A
     Stri
@@ -522,17 +522,16 @@
 Host();%0A
-%0A
     Stri
@@ -579,10 +579,9 @@
 eption;%0A
-%0A
 %7D

Remove all blank lines added previously in RipperInterface