5b49514e3e
There should be no changes to the code. Just a ton of documentation. It should help newcomers get aquainted with code quicker.
20 lines
597 B
Java
20 lines
597 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)
|
|
*
|
|
* (cheers!)
|
|
*/
|
|
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;
|
|
} |