- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 42 for newInputStream (0.19 sec)
-
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()); /*
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 20.3K bytes - Viewed (0) -
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); } }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
throws ParserException, IOException { try { if (extensionsFile != null && Files.exists(extensionsFile)) { try (InputStream is = Files.newInputStream(extensionsFile)) { return new CoreExtensionsStaxReader().read(is, true).getExtensions(); } } return List.of(); } catch (XMLStreamException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.4K bytes - Viewed (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); } }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/tests/AllTests.java
return; } Properties props = new Properties(); try ( FileChannel ch = FileChannel.open(config, StandardOpenOption.READ); InputStream is = Channels.newInputStream(ch) ) { props.load(is); } if ( !props.isEmpty() ) { Map<String, String> map = toMap(props); String cfgname = fname.substring(0, fname.length() - 5);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 14.4K bytes - Viewed (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() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.2K bytes - Viewed (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) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.9K bytes - Viewed (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,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 35K bytes - Viewed (0) -
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,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 34.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0)