com.quartercode.quarterbukkit.util
Class QuarterBukkitUpdater
java.lang.Object
com.quartercode.quarterbukkit.api.Updater
com.quartercode.quarterbukkit.util.QuarterBukkitUpdater
public class QuarterBukkitUpdater
- extends Updater
This class is for checking the QuarterBukkit-version and updating the plugin.
Constructor Summary |
QuarterBukkitUpdater(org.bukkit.plugin.Plugin plugin)
Creates a new QuarterBukkit updater. |
Method Summary |
protected void |
doInstall(java.io.File downloadedFile)
|
protected java.lang.String |
parseVersion(java.lang.String title)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
QuarterBukkitUpdater
public QuarterBukkitUpdater(org.bukkit.plugin.Plugin plugin)
- Creates a new QuarterBukkit updater.
- Parameters:
plugin
- The QuarterBukkit
-Plugin
.
parseVersion
protected java.lang.String parseVersion(java.lang.String title)
- Specified by:
parseVersion
in class Updater
doInstall
protected void doInstall(java.io.File downloadedFile)
throws java.io.IOException
- Specified by:
doInstall
in class Updater
- Throws:
java.io.IOException