- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getCanonicalFile (0.2 sec)
-
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();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 05 17:43:40 GMT 2022 - 24.9K bytes - Viewed (1) -
guava-tests/test/com/google/common/io/FilesTest.java
File file = root(); assertNull(file.getParentFile()); assertNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); } public void testCreateParentDirs_relativePath() throws IOException { File file = file("nonexistent.file"); assertNull(file.getParentFile()); assertNotNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File file = root(); assertNull(file.getParentFile()); assertNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); } public void testCreateParentDirs_relativePath() throws IOException { File file = file("nonexistent.file"); assertNull(file.getParentFile()); assertNotNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
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");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 08:11:33 GMT 2023 - 18.6K bytes - Viewed (0) -
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");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 19.2K 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
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 33.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProject.java
String module = moduleProject.getArtifactId(); File moduleFile = moduleProject.getFile(); if (moduleFile != null) { File moduleDir = moduleFile.getCanonicalFile().getParentFile(); module = moduleDir.getName(); } if (moduleAdjustments == null) { moduleAdjustments = new HashMap<>();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 56.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
if (Os.IS_WINDOWS) { // we don't canonicalize on unix to avoid interfering with symlinks try { moduleFile = moduleFile.getCanonicalFile(); } catch (IOException e) { moduleFile = moduleFile.getAbsoluteFile(); } } else {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 55.2K bytes - Viewed (0)