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.SetADMIN_FILE_PARENTSstatic SVNFileTypeDIRECTORYstatic SVNFileTypeFILEprivate intmyTypestatic SVNFileTypeNONEprivate static booleanourCanonPathCacheUsedprivate static booleanourDetectSymlinksprivate static booleanourFastSymlinkResoutionstatic SVNFileTypeSYMLINKstatic SVNFileTypeUNKNOWN
-
Constructor Summary
Constructors Modifier Constructor Description privateSVNFileType(int type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanequals(SVNFileType type, SVNNodeKind nodeKind)intgetID()static SVNNodeKindgetNodeKind(SVNFileType type)static SVNFileTypegetType(java.io.File file)private static booleanisAdminFile(java.io.File file)booleanisFile()private static booleanisSymlink(java.io.File file)static booleanisSymlinkSupportEnabled()static voidsetSymlinkSupportEnabled(boolean enabled)java.lang.StringtoString()
-
-
-
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:
toStringin 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)
-
-