com.partnersoft.v3x.apps.Propagate
Class WebGuppyUpdateActor
java.lang.Object
com.partnersoft.v3x.apps.Propagate.WebGuppyUpdateActor
- All Implemented Interfaces:
- UpdateActor
public class WebGuppyUpdateActor
- extends java.lang.Object
- implements UpdateActor
Updates files using http Guppy requests.
|
Constructor Summary |
WebGuppyUpdateActor(java.lang.String url,
java.io.File destinationDir,
Log log)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebGuppyUpdateActor
public WebGuppyUpdateActor(java.lang.String url,
java.io.File destinationDir,
Log log)
throws java.io.IOException
- Throws:
java.io.IOException
addFile
public void addFile(java.lang.String filename)
throws java.io.IOException
- Specified by:
addFile in interface UpdateActor
- Throws:
java.io.IOException
removeFile
public void removeFile(java.lang.String filename)
throws java.io.IOException
- Specified by:
removeFile in interface UpdateActor
- Throws:
java.io.IOException
updateFile
public void updateFile(java.lang.String filename)
throws java.io.IOException
- Specified by:
updateFile in interface UpdateActor
- Throws:
java.io.IOException
copyFile
public void copyFile(java.lang.String remoteFilename,
java.lang.String localFilename)
throws java.io.IOException
- Specified by:
copyFile in interface UpdateActor
- Throws:
java.io.IOException
checksumsMatch
public boolean checksumsMatch(java.lang.String packageName)
throws java.io.IOException
- Specified by:
checksumsMatch in interface UpdateActor
- Throws:
java.io.IOException
availableVersion
public int availableVersion(java.lang.String packageName)
throws java.io.IOException
- Specified by:
availableVersion in interface UpdateActor
- Throws:
java.io.IOException
loadObject
public java.lang.Object loadObject(java.lang.String path)
throws java.io.IOException
- Specified by:
loadObject in interface UpdateActor
- Throws:
java.io.IOException
sync
public void sync()
throws java.io.IOException
- Specified by:
sync in interface UpdateActor
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface UpdateActor
- Throws:
java.io.IOException
getURL
public java.lang.String getURL()
setURL
public void setURL(java.lang.String newAddress)
getDestinationDir
public java.io.File getDestinationDir()
setDestinationDir
public void setDestinationDir(java.io.File newDestinationDir)
getLog
public Log getLog()
setLog
public void setLog(Log newLog)
isVerbose
public boolean isVerbose()
- Specified by:
isVerbose in interface UpdateActor
setVerbose
public void setVerbose(boolean tizit)
- Specified by:
setVerbose in interface UpdateActor