public abstract class AbstractPatchBuilder extends java.lang.Object implements PatchBuilder
PatchBuilder
.
Processing working directory - stores current working directory and
adds its path to every processing file.Constructor and Description |
---|
AbstractPatchBuilder() |
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
getPathInCurrentWorkingDirectory(java.io.File localFile) |
void |
setWorkingDirectory(java.io.File workingDir,
boolean createDirectory)
Changes current working directory relative path.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeOrCreateBinaryFile, changeOrCreateTextFile, createBinaryFile, createDirectory, createTextFile, deleteDirectory, deleteFile, renameDirectory, renameFile, setLastModified
@NotNull protected java.io.File getPathInCurrentWorkingDirectory(@NotNull java.io.File localFile)
public void setWorkingDirectory(@NotNull java.io.File workingDir, boolean createDirectory) throws java.io.IOException
setWorkingDirectory
in interface PatchBuilder
workingDir
- new working dir.createDirectory
- if patcher has to create new directory for the current path.java.io.IOException
- problem to save current patcher command.