public class FileUpdate extends java.lang.Object implements Update
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
destination |
protected java.lang.String |
filename |
protected java.lang.String |
source |
Constructor and Description |
---|
FileUpdate(java.lang.String source,
java.io.File destination) |
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
destinationFile() |
void |
doUpdate() |
java.lang.String |
getMessage() |
java.lang.String |
getName() |
protected java.net.URL |
getResource(java.lang.String resource) |
boolean |
shouldBeApplied() |
protected final java.io.File destination
protected final java.lang.String source
protected final java.lang.String filename
public void doUpdate() throws java.io.IOException
protected java.net.URL getResource(java.lang.String resource)
public java.lang.String getMessage()
getMessage
in interface Update
protected java.io.File destinationFile()
public boolean shouldBeApplied() throws java.io.IOException
shouldBeApplied
in interface Update
java.io.IOException