return new IOSFileHandle(parent, type);\r
}\r
\r
+ /**\r
+ * This overrides the original method in FileHandle to prevent crashes on iOS. The original method\r
+ * has a fallback to FileType.Classpath when FileType.Internal is used. FileType.Classpath is not\r
+ * supported on iOS.\r
+ * \r
+ * @return True if the file exists.\r
+ */\r
+ @Override\r
+ public boolean exists () {\r
+ return file.exists();\r
+ }\r
+\r
public File file () {\r
if (type == FileType.External) return new File(IOSFiles.externalPath, file.getPath());\r
if (type == FileType.Local) return new File(IOSFiles.localPath, file.getPath());\r