public class SvnTools
extends java.lang.Object
| Constructor and Description |
|---|
SvnTools() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isContentEqual(ISvnFile file1,
ISvnFile file2)
Compares the content of the two given files for equality of content.
|
static boolean |
isContentEqual(SvnSession session,
java.lang.String path1,
long rev1,
java.lang.String path2,
long rev2)
Compares the content of the two given files for equality.
|
static boolean |
isPropertiesEqual(ISvnEntry entry1,
ISvnEntry entry2)
Compares the content of the two specified entries for equality of properties.
|
static boolean |
isTextType(ISvnFile file)
Determines whether this is text or binary file.
|
public static boolean isTextType(ISvnFile file)
file - filepublic static boolean isContentEqual(SvnSession session, java.lang.String path1, long rev1, java.lang.String path2, long rev2)
session - SVN sessionpath1 - path of first file to comparerev1 - revision of first file to comparepath2 - ` path of second file to comparerev2 - revision of second file to comparepublic static boolean isContentEqual(ISvnFile file1, ISvnFile file2)
file1 - first file to comparefile2 - ` second file to comparepublic static boolean isPropertiesEqual(ISvnEntry entry1, ISvnEntry entry2)
entry1 - first entry to compareentry2 - second entry to compare