com.quartercode.quarterbukkit.util
Class QuarterBukkitUpdater

java.lang.Object
  extended by com.quartercode.quarterbukkit.api.Updater
      extended by com.quartercode.quarterbukkit.util.QuarterBukkitUpdater

public class QuarterBukkitUpdater
extends Updater

This class is for checking the QuarterBukkit-version and updating the plugin.


Field Summary
 
Fields inherited from class com.quartercode.quarterbukkit.api.Updater
plugin, slug, updatePlugin
 
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 com.quartercode.quarterbukkit.api.Updater
equals, extract, getLatestVersion, hashCode, isNewVersionAvaiable, toString, tryInstall
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QuarterBukkitUpdater

public QuarterBukkitUpdater(org.bukkit.plugin.Plugin plugin)
Creates a new QuarterBukkit updater.

Parameters:
plugin - The QuarterBukkit-Plugin.
Method Detail

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