- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for newInputStream (0.63 sec)
-
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
this.hashCode = Objects.hash(path); } @Override public InputStream getInputStream() throws IOException { return Files.newInputStream(path); } @Override public String getLocation() { return path.toString(); } /** * Gets the file of this source. *
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
PersistedToolchains toolchains = null; if (userToolchainsFile != null && userToolchainsFile.isFile()) { try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) { toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in)); } catch (Exception e) { throw new MisconfiguredToolchainException(Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy
File gradleJars = outputs.dir("gradle-jars") File dependencies = outputs.dir("gradle-dependencies") try (ZipInputStream zin = new ZipInputStream(artifact.get().asFile.newInputStream())) { ZipEntry zipEntry while (zipEntry = zin.nextEntry) { String shortName = zipEntry.name if (shortName.contains('/')) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jul 08 13:44:59 UTC 2021 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformerSupport.java
protected static final String SCHEMA_LOCATION_FORMAT = "https://maven.apache.org/xsd/maven-%s.xsd"; protected Model read(Path src) throws IOException, XMLStreamException { try (InputStream is = Files.newInputStream(src)) { return new MavenStaxReader().read(is, false, null); } } protected void write(Model model, Path dest) throws IOException, XMLStreamException {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 3.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java
return true; } // we're too early to use the modelProcessor ... Path pom = dir.resolve("pom.xml"); try (InputStream is = Files.newInputStream(pom)) { XMLStreamReader parser = XMLInputFactory.newFactory().createXMLStreamReader(is); if (parser.nextTag() == XMLStreamReader.START_ELEMENTRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 4.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
@Override public Metadata read(File input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); return read(Files.newInputStream(input.toPath()), options); } @Override public Metadata read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.9K bytes - Viewed (0) -
impl/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 = InputSource.of(settingsFile.toString());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.5K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 10 07:09:12 UTC 2025 - 3.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
} @Benchmark public int readWithStax(AdditionState state) throws IOException, XMLStreamException { int i = 0; for (Path pom : state.poms) { try (InputStream is = Files.newInputStream(pom)) { MavenStaxReader reader = new MavenStaxReader(); reader.setAddLocationInformation(false); reader.read(is, true, InputSource.of("id", pom.toString()));Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 3.3K bytes - Viewed (0)