Package com.biglybt.core.util
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 caseboolean
isAncestorOf
(File _parent, File _child) Whether child in an ancestor of parent, or child IS parentnewFileAccessor
(File file, String access_mode) Methods inherited from class com.biglybt.core.util.FileHandler
containsPathSegment, getFileStore, getRelativePath, newFile, newFileInputStream, newFileOutputStream
-
Constructor Details
-
FileHandlerHack
public FileHandlerHack()
-
-
Method Details
-
newFile
- Overrides:
newFile
in classFileHandler
-
newFile
- Overrides:
newFile
in classFileHandler
-
getCanonicalFileSafe
Description copied from class:FileHandler
Preserves the case of the file.name when the file exists but differs in case- Overrides:
getCanonicalFileSafe
in classFileHandler
-
getCanonicalPathSafe
Description copied from class:FileHandler
Preserves the case of the file.name when the file exists but differs in case- Overrides:
getCanonicalPathSafe
in classFileHandler
-
isAncestorOf
Description copied from class:FileHandler
Whether child in an ancestor of parent, or child IS parent- Overrides:
isAncestorOf
in classFileHandler
-
newFileAccessor
public FMFileAccess.FileAccessor newFileAccessor(File file, String access_mode) throws FileNotFoundException - Overrides:
newFileAccessor
in classFileHandler
- Throws:
FileNotFoundException
-