- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 44 for newInputStream (0.13 seconds)
-
src/main/java/org/codelibs/fess/app/web/admin/badword/AdminBadwordAction.java
throwValidationError(messages -> messages.addErrorsFailedToDownloadBadwordFile(GLOBAL), this::asDownloadHtml); } try (InputStream in = Files.newInputStream(tempFile)) { out.write(in); } } finally { Files.delete(tempFile); } }); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 18K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java
syncContext.acquire(null, Collections.singleton(metadata)); if (metadata.getPath() != null && Files.exists(metadata.getPath())) { try (InputStream in = Files.newInputStream(metadata.getPath())) { versioning = new Versioning( new MetadataStaxReader().read(in, false).getVersioning()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 11.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
syncContext.acquire(null, Collections.singleton(metadata)); if (metadata.getPath() != null && Files.exists(metadata.getPath())) { try (InputStream in = Files.newInputStream(metadata.getPath())) { versioning = new Versioning( new MetadataStaxReader().read(in, false).getVersioning()); /*
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 20.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
throwValidationError(messages -> messages.addErrorsFailedToDownloadElevateFile(GLOBAL), this::asDownloadHtml); } try (InputStream in = Files.newInputStream(tempFile)) { out.write(in); } } finally { Files.delete(tempFile); } }); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 22.2K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java
} catch (MalformedURLException e) { throw new IllegalStateException(e); } } else { return Files.newInputStream(new File(pluginFile, descriptor).toPath()); } } /** * Creates a shallow copy of this plugin descriptor. */ @Override public PluginDescriptor clone() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 16.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
} /* * TODO share with DefaultPluginMappingManager. */ protected Metadata readMetadata(File mappingFile) throws RepositoryMetadataReadException { try (InputStream in = Files.newInputStream(mappingFile.toPath())) { return new Metadata(new MetadataStaxReader().read(in, false)); } catch (FileNotFoundException e) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 18.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MoreFiles.java
if (option == NOFOLLOW_LINKS) { return false; } } return true; } @Override public InputStream openStream() throws IOException { return Files.newInputStream(path, options); } private BasicFileAttributes readAttributes() throws IOException { return Files.readAttributes( path, BasicFileAttributes.class,
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertTrue(propFile.exists()); // Read and verify properties Properties props = new Properties(); try (var in = Files.newInputStream(propFile.toPath())) { props.load(in); // The property should be in the file if it was in system properties String value = props.getProperty("test.prop");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
docs/smb3-features/02-persistent-handles-design.md
stateDirectory, "*.handle")) { for (Path handleFile : stream) { try (ObjectInputStream ois = new ObjectInputStream( Files.newInputStream(handleFile))) { HandleInfo info = (HandleInfo) ois.readObject(); // Only load if not expired if (!info.isExpired()) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 31.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
try { if (extensionsFile != null && Files.exists(extensionsFile)) { try (InputStream is = Files.newInputStream(extensionsFile)) { return validateCoreExtensionsDescriptorFromFile( extensionsFile, List.copyOf(new CoreExtensionsStaxReader()Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0)