Class SVNFileType
- java.lang.Object
-
- org.tmatesoft.svn.core.internal.wc.SVNFileType
-
public class SVNFileType extends java.lang.Object
- Version:
- 1.3
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.Set
ADMIN_FILE_PARENTS
static SVNFileType
DIRECTORY
static SVNFileType
FILE
private int
myType
static SVNFileType
NONE
private static boolean
ourCanonPathCacheUsed
private static boolean
ourDetectSymlinks
private static boolean
ourFastSymlinkResoution
static SVNFileType
SYMLINK
static SVNFileType
UNKNOWN
-
Constructor Summary
Constructors Modifier Constructor Description private
SVNFileType(int type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
equals(SVNFileType type, SVNNodeKind nodeKind)
int
getID()
static SVNNodeKind
getNodeKind(SVNFileType type)
static SVNFileType
getType(java.io.File file)
private static boolean
isAdminFile(java.io.File file)
boolean
isFile()
private static boolean
isSymlink(java.io.File file)
static boolean
isSymlinkSupportEnabled()
static void
setSymlinkSupportEnabled(boolean enabled)
java.lang.String
toString()
-
-
-
Field Detail
-
UNKNOWN
public static final SVNFileType UNKNOWN
-
NONE
public static final SVNFileType NONE
-
FILE
public static final SVNFileType FILE
-
SYMLINK
public static final SVNFileType SYMLINK
-
DIRECTORY
public static final SVNFileType DIRECTORY
-
ourFastSymlinkResoution
private static final boolean ourFastSymlinkResoution
-
ourCanonPathCacheUsed
private static final boolean ourCanonPathCacheUsed
-
ourDetectSymlinks
private static boolean ourDetectSymlinks
-
ADMIN_FILE_PARENTS
private static final java.util.Set ADMIN_FILE_PARENTS
-
myType
private int myType
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
setSymlinkSupportEnabled
public static void setSymlinkSupportEnabled(boolean enabled)
-
isSymlinkSupportEnabled
public static boolean isSymlinkSupportEnabled()
-
getType
public static SVNFileType getType(java.io.File file)
-
equals
public static boolean equals(SVNFileType type, SVNNodeKind nodeKind)
-
isAdminFile
private static boolean isAdminFile(java.io.File file)
-
isSymlink
private static boolean isSymlink(java.io.File file)
-
getID
public int getID()
-
isFile
public boolean isFile()
-
getNodeKind
public static SVNNodeKind getNodeKind(SVNFileType type)
-
-