Class FileUtil.FileHandlerHack
java.lang.Object
com.biglybt.core.util.FileHandler
com.biglybt.core.util.FileUtil.FileHandlerHack
- Enclosing class:
FileUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCanonicalFileSafe(File file) Preserves the case of the file.name when the file exists but differs in casegetCanonicalPathSafe(File file) Preserves the case of the file.name when the file exists but differs in casebooleanisAncestorOf(File _parent, File _child) Whether child in an ancestor of parent, or child IS parentnewFileAccessor(File file, String access_mode, boolean explicit_sparse) Methods inherited from class FileHandler
containsPathSegment, getFileStore, getFileStores, getRelativePath, newFile, newFileInputStream, newFileOutputStream
-
Constructor Details
-
FileHandlerHack
public FileHandlerHack()
-
-
Method Details
-
newFile
- Overrides:
newFilein classFileHandler
-
newFile
- Overrides:
newFilein classFileHandler
-
getCanonicalFileSafe
Description copied from class:FileHandlerPreserves the case of the file.name when the file exists but differs in case- Overrides:
getCanonicalFileSafein classFileHandler
-
getCanonicalPathSafe
Description copied from class:FileHandlerPreserves the case of the file.name when the file exists but differs in case- Overrides:
getCanonicalPathSafein classFileHandler
-
isAncestorOf
Description copied from class:FileHandlerWhether child in an ancestor of parent, or child IS parent- Overrides:
isAncestorOfin classFileHandler
-
newFileAccessor
public FMFileAccess.FileAccessor newFileAccessor(File file, String access_mode, boolean explicit_sparse) throws FileNotFoundException - Overrides:
newFileAccessorin classFileHandler- Throws:
FileNotFoundException
-