public class Patcher
extends java.lang.Object
| Constructor and Description |
|---|
Patcher() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPatchFile(java.io.File file,
java.lang.String patchName,
double patchVersion,
java.lang.String patchUrl)
Erstellt eine PatchDescriptionFile
|
java.io.File |
downloadFile(java.lang.String s,
java.io.File arg1)
Interne Methode bitte patch() benutzen!
|
PatchFile |
downloadPatchDescriptionFile(java.lang.String url)
Interne Methode bitte patch() benutzen!
|
void |
patch(java.lang.String patchDescriptionFileUrl,
org.bukkit.plugin.java.JavaPlugin plugin)
Patcht ein Plugin
|
public void patch(java.lang.String patchDescriptionFileUrl,
org.bukkit.plugin.java.JavaPlugin plugin)
throws java.io.IOException
patchDescriptionFileUrl - URL zur PatchFile.jsonplugin - Das Plugin was gepatcht werden solljava.io.IOExceptionpublic java.io.File downloadFile(java.lang.String s,
java.io.File arg1)
throws java.io.IOException
java.io.IOExceptionpublic PatchFile downloadPatchDescriptionFile(java.lang.String url)
public void createPatchFile(java.io.File file,
java.lang.String patchName,
double patchVersion,
java.lang.String patchUrl)
throws java.io.IOException
java.io.IOException