Searched refs:isFilenameSafe (Results 1 – 3 of 3) sorted by relevance
75 assertTrue(FileUtils.isFilenameSafe(new File("foobar"))); in testIsFilenameSafe()76 assertTrue(FileUtils.isFilenameSafe(new File("a_b-c=d.e/0,1+23"))); in testIsFilenameSafe()77 assertFalse(FileUtils.isFilenameSafe(new File("foo*bar"))); in testIsFilenameSafe()78 assertFalse(FileUtils.isFilenameSafe(new File("foo\nbar"))); in testIsFilenameSafe()
67 isFilenameSafe(const char* filename) in isFilenameSafe() function346 && isFilenameSafe(lastSlash + 1)) in iterateOverNativeFiles()
130 public static boolean isFilenameSafe(File file) { in isFilenameSafe() method in FileUtils