- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getCanonicalFile (3.3 sec)
-
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); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
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); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
Model model = new Model(); model.setBuild(build); MavenProject project = new MavenProject(model); project.setFile(new File("pom.xml").getCanonicalFile()); ExpressionEvaluator expressionEvaluator = createExpressionEvaluator(project, new Properties()); Object value = expressionEvaluator.evaluate("${project.build.directory}/classes");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
Model model = new Model(); model.setBuild(build); MavenProject project = new MavenProject(model); project.setFile(new File("pom.xml").getCanonicalFile()); ExpressionEvaluator expressionEvaluator = createExpressionEvaluator(project, null, new Properties()); Object value = expressionEvaluator.evaluate("${project.build.directory}/classes");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (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
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0)