public interface VersionsController
Modifier and Type | Method and Description |
---|---|
VersionInfo |
addDirectory(FileVersion filePath)
Add a directory.
|
void |
delete(java.io.File... files)
Delete a bunch of files.
|
FileVersion[] |
getRevisionData(java.lang.String revision,
java.io.File... files)
Obtain data for the files requested at a specific revision
|
java.util.Collection<VersionInfo> |
history(java.io.File... files)
Get history information for a set of files.
|
VersionInfo |
makeVersion(FileVersion... fileVersion)
Store files as one revision.
|
void |
rename(FileVersion fileVersion,
java.io.File originalFile)
Rename a file.
|
FileVersion[] getRevisionData(java.lang.String revision, java.io.File... files) throws java.io.IOException
revision
- The revision to look forfiles
- Files to obtain data forjava.io.IOException
java.util.Collection<VersionInfo> history(java.io.File... files)
files
- Files to look for.VersionInfo makeVersion(FileVersion... fileVersion) throws java.io.IOException
fileVersion
- The files to storejava.io.IOException
- IOExceptionVersionInfo addDirectory(FileVersion filePath) throws java.io.IOException
filePath
- directory to addjava.io.IOException
- IOExceptionvoid rename(FileVersion fileVersion, java.io.File originalFile) throws java.io.IOException
fileVersion
- File to rename to.originalFile
- The original file.java.io.IOException
- IOExceptionvoid delete(java.io.File... files) throws java.io.IOException
files
- files to deletejava.io.IOException