d043685d2e
* Changed the Maven target to 1.8 * Performed a preliminary cleanup using IntelliJ's Code Analysis (Only Java 7/8 updates and a few other entries in the Error and Warnings categories) * Updated the readme to change the required Java version
18 lines
580 B
Java
18 lines
580 B
Java
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)
|
|
*/
|
|
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;
|
|
} |