- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 142 for toPath (0.17 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java
} } private boolean fileContainsText(File referencedFile, String text) { try { for (String line : Files.readAllLines(referencedFile.toPath())) { if (line.contains(text)) { return true; } } } catch (IOException e) { // ignore } return false;
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Apr 05 07:57:56 GMT 2023 - 8.6K 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(); } public static Path getClassesPath(final String... names) { return getPath("WEB-INF/", "classes", names); } public static Path getOrigPath(final String... names) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
} private static Settings readSettingsFile(File settingsFile) throws IOException, XMLStreamException { try (InputStream is = Files.newInputStream(settingsFile.toPath())) { SettingsStaxReader reader = new SettingsStaxReader(); InputSource source = new InputSource(settingsFile.toString()); return new Settings(reader.read(is, true, source)); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelProblemUtils.java
Path pomPath = model.getPomFile(); if (pomPath != null) { buffer.append(" (").append(pomPath).append(')'); } return buffer.toString(); } static String toPath(Model model) { String path = ""; if (model != null) { Path pomPath = model.getPomFile(); if (pomPath != null) { path = pomPath.toAbsolutePath().toString();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.8K 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);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProblemCollector.java
if (rootModel == null) { rootModel = source; } } private String getSource() { if (source == null && sourceModel != null) { source = ModelProblemUtils.toPath(sourceModel); } return source; } private String getModelId() { return ModelProblemUtils.toId(sourceModel); } public void setRootModel(Model rootModel) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
} @Nonnull @Override public Optional<Path> getPomFile() { return Optional.ofNullable(res.getPomFile()).map(File::toPath); } @Nonnull @Override public Optional<Project> getProject() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 8.3K 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);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.2K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt
@Throws(Exception::class) public override fun doExecute(bufferedWriter: BufferedWriter) { val packages = Implementation(excludes.get()).collectPackages(classpath.files.map(File::toPath)) packages.dump(false, object : ErroringAction<String>() { @Throws(Exception::class) override fun doExecute(s: String) { bufferedWriter.write(s)
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 6.3K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java
RepositorySystemSession rss = new MavenSessionBuilderSupplier(repositorySystem) .get() .withLocalRepositoryBaseDirectories(new File("target").toPath()) .build(); DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest(); DefaultMavenExecutionResult meres = new DefaultMavenExecutionResult();
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 9.9K bytes - Viewed (2)