- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for getCanonicalFile (0.08 seconds)
-
android/guava/src/com/google/common/io/MoreFiles.java
throws IOException { // Interestingly, unlike File.getCanonicalFile(), Path/Files provides no way of getting the // canonical (absolute, normalized, symlinks resolved, etc.) form of a path to a nonexistent // file. getCanonicalFile() can at least get the canonical form of the part of the path whichCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
// We only scan each file once independent of the classloader that file might be // associated with. if (scannedUris.add(path.getCanonicalFile())) { scan(path, scannedUris, builder); } } scanJarFile(jarFile, builder); } finally { try { jarFile.close();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
assertThat(file.getParentFile()).isNull(); assertThat(file.getCanonicalFile().getParentFile()).isNull(); Files.createParentDirs(file); } public void testCreateParentDirs_relativePath() throws IOException { File file = file("nonexistent.file"); assertThat(file.getParentFile()).isNull(); assertThat(file.getCanonicalFile().getParentFile()).isNotNull(); Files.createParentDirs(file); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* directories of the specified file could not be created. * @since 4.0 */ public static void createParentDirs(File file) throws IOException { checkNotNull(file); File parent = file.getCanonicalFile().getParentFile(); if (parent == null) { /* * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
throw new ExitException(1); } File basedir = new File(basedirProperty); try { cliRequest.multiModuleProjectDirectory = basedir.getCanonicalFile(); } catch (IOException e) { cliRequest.multiModuleProjectDirectory = basedir.getAbsoluteFile(); } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0)