public abstract class PatchAssistance
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
DEV_NULL  | 
| Constructor and Description | 
|---|
PatchAssistance()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
fixUpFilenames()
Needs to be called to fix up filenames if the patch is for a new file. 
 | 
abstract java.lang.String | 
fromFile()
Get the from file of the patch 
 | 
abstract java.util.Date | 
getFromModificationTime()
Get the modification time from file 
 | 
abstract java.lang.String | 
getFromRevision()
Get the revision of the from file 
 | 
protected java.net.URL | 
getRoot()  | 
abstract java.util.Date | 
getToModificationTime()
Get the modification time to file 
 | 
abstract java.lang.String | 
getToRevision()
Get the revision of the to file 
 | 
boolean | 
isCopy()
Is the file a copy from another location 
 | 
abstract boolean | 
isNew()
IS the patch of a new file 
 | 
boolean | 
isNewEntry()  | 
abstract boolean | 
isRecognised(byte[] source)
Is the patch byte string recognised by the assistance 
 | 
protected java.util.Date | 
parseModificationTime(java.lang.String modTime)  | 
abstract void | 
process(java.lang.String line)
Given a line from the patch file extract information 
 | 
void | 
setSelectedRoot(java.net.URL url)  | 
abstract java.lang.String | 
toFile()
Get the to file of the patch 
 | 
abstract void | 
updated(java.net.URL[] urls)
Array of URLs that have been updated by the patch process 
 | 
public static final java.lang.String DEV_NULL
public abstract boolean isRecognised(byte[] source)
source - public abstract java.util.Date getFromModificationTime()
public abstract java.lang.String getFromRevision()
public abstract java.lang.String toFile()
public abstract java.lang.String fromFile()
line - public abstract java.util.Date getToModificationTime()
public abstract java.lang.String getToRevision()
public abstract void process(java.lang.String line)
line - public abstract boolean isNew()
public abstract void fixUpFilenames()
public abstract void updated(java.net.URL[] urls)
urls - public void setSelectedRoot(java.net.URL url)
public boolean isNewEntry()
public boolean isCopy()
protected java.net.URL getRoot()
protected java.util.Date parseModificationTime(java.lang.String modTime)