- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 148 for toPath (0.05 sec)
-
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java
@Override public ProjectBuildingResult build(File pomFile, ProjectBuildingRequest request) throws ProjectBuildingException { try (BuildSession bs = new BuildSession(request)) { Path path = pomFile.toPath(); return bs.build(false, path, Sources.buildSource(path)); } } @Deprecated @Override public ProjectBuildingResult build(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 51.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
private fun File.withUniqueDirectory(prefixPath: String): File = Files.createTempDirectory( withDirectory(prefixPath.substringBeforeLast("/")).toPath(), prefixPath.substringAfterLast("/") ).toFile() private fun File.withDirectory(path: String): File = resolve(path).apply { mkdirs() }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Dec 30 10:14:25 UTC 2025 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
return nameSet.stream().sorted().collect(Collectors.toList()); } for (final File jarFile : jarFiles) { try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) { final Path xmlPath = fs.getPath("fess_ds++.xml"); if (!Files.exists(xmlPath)) { if (logger.isDebugEnabled()) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
validateApi(body, messages -> {}); return asStream("elevate.csv").contentTypeOctetStream().stream(out -> { final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { elevateWordService.exportCsv(writer);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
public Object getValue(String expression) { if (projectDir != null && "baseUri".equals(expression)) { return projectDir.getAbsoluteFile().toPath().toUri().toASCIIString(); } return null; } }, PROJECT_PREFIXES, false);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
} } private String getPackageName(File file) throws IOException { try (Stream<String> lines = Files.lines(file.toPath())) { String packageLine = lines.filter(line -> line.startsWith("package")) .findFirst() .orElseThrow(() -> new IOException("Can't find package definition in file " + file));Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Oct 02 14:18:24 UTC 2025 - 10.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java
// path to pom.xml File currentPom = project.getFile(); if (currentPom != null) { MavenSession session = event.getSession(); Path current = currentPom.toPath().toAbsolutePath().normalize(); Path topDirectory = session.getTopDirectory(); if (topDirectory != null && current.startsWith(topDirectory)) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 17.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
final Path confPath = getConfPath(names); if (Files.exists(confPath)) { return confPath; } return org.codelibs.core.io.ResourceUtil.getResourceAsFile(String.join("/", names)).toPath(); } /** * Gets the path to compiled classes directory. * * @param names the path components to append to the classes directory
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt
import okhttp3.testing.PlatformRule import okio.Buffer import okio.BufferedSink import okio.FileSystem import okio.ForwardingFileSystem import okio.GzipSink import okio.Path import okio.Path.Companion.toPath import okio.buffer import okio.fakefilesystem.FakeFileSystem import okio.use import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Tag
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 116.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
verifyToken(this::asDownloadHtml); return asStream("badword.csv").contentTypeOctetStream().stream(out -> { final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { badWordService.exportCsv(writer);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 13:56:35 UTC 2025 - 17.9K bytes - Viewed (0)