- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 258 for toFile (1.29 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java
context.mavenExecutionRequest.setInstallationToolchainsFile( installationToolchainsFile != null ? installationToolchainsFile.toFile() : null); context.mavenExecutionRequest.setUserToolchainsFile( userToolchainsFile != null ? userToolchainsFile.toFile() : null); ToolchainsBuilderRequest toolchainsRequest = ToolchainsBuilderRequest.builder() .session(context.session)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 29.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
final File file = new File("Program Files/hoge.txt"); final URL url = file.toURI().toURL(); assertEquals(file.getAbsoluteFile(), URLUtil.toFile(url)); assertEquals(file.getAbsoluteFile(), URLUtil.toFile(new URL("file:Program%20Files/hoge.txt"))); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java
*/ public final class Utils { private Utils() {} @Nullable public static File toFile(Path path) { if (path != null) { return path.toFile(); } return null; } @Nonnull public static String stripLeadingAndTrailingQuotes(String str) { requireNonNull(str, "str");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
@Deprecated @Override public File locatePom(File projectDirectory) { Path path = locatePom(projectDirectory != null ? projectDirectory.toPath() : null); return path != null ? path.toFile() : null; } @Override public Path locatePom(Path projectDirectory) { return projectDirectory != null ? projectDirectory : Paths.get(System.getProperty("user.dir")); } @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05"))) .isEqualTo(new File("/c:\\Documents ~ Settings, or not\\11-12 12:05")); assertThat(ClassPath.toFile(new URL("file:///C:\\Program Files\\Apache Software Foundation"))) .isEqualTo(new File("/C:\\Program Files\\Apache Software Foundation/"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java
// drive-relative Windows path return file.getAbsoluteFile(); } else { return Paths.get(baseDirectory, file.getPath()).normalize().toFile(); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
this.modelReader = modelReader; } @Deprecated @Override public File locatePom(File projectDirectory) { return locatePom(projectDirectory.toPath()).toFile(); } @Override public Path locatePom(Path projectDirectory) { // Note that the ModelProcessor#locatePom never returns null // while the ModelParser#locatePom needs to return an existing path!
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.5K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 28 16:19:47 UTC 2023 - 12.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/cluster.go
if err != nil { return err } istiodBytes.WriteString(istiod) } diff := difflib.UnifiedDiff{ FromFile: "Istiod Clusters", A: difflib.SplitLines(istiodBytes.String()), ToFile: "Envoy Clusters", B: difflib.SplitLines(envoyBytes.String()), Context: c.context, } text, err := difflib.GetUnifiedDiffString(diff) if err != nil { return err } if text != "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 1.9K bytes - Viewed (0) -
istioctl/pkg/writer/compare/listener.go
if err != nil { return err } istiodBytes.WriteString(istiod) } diff := difflib.UnifiedDiff{ FromFile: "Istiod Listeners", A: difflib.SplitLines(istiodBytes.String()), ToFile: "Envoy Listeners", B: difflib.SplitLines(envoyBytes.String()), Context: c.context, } text, err := difflib.GetUnifiedDiffString(diff) if err != nil { return err } if text != "" {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 2K bytes - Viewed (0)