- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for InputSource (0.19 sec)
-
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java
public String toString() { if (inputs != null) { return inputs.stream().map(InputSource::toString).collect(Collectors.joining(", ", "merged[", "]")); } return getModelId() + " " + getLocation(); } public static InputSource merge(InputSource src1, InputSource src2) { return new InputSource(Stream.concat(src1.sources(), src2.sources()).collect(Collectors.toSet())); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 15 13:24:49 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java
public PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { InputSource source = (InputSource) options.get(InputSource.class.getName()); return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
private final int lineNumber; private final int columnNumber; private final InputSource source; private final Map<Object, InputLocation> locations; private final InputLocation importedFrom; public InputLocation(InputSource source) { this.lineNumber = -1; this.columnNumber = -1; this.source = source;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 15 13:24:49 UTC 2024 - 6.7K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
public Settings read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) { InputSource source = (InputSource) options.get(InputSource.class.getName()); return new Settings(new SettingsStaxReader().read(in, isStrict(options), source)); } catch (XMLStreamException e) { throw new SettingsParseException(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java
+ this.getClass().getPackage().getImplementationVersion() + ":super-pom"; InputSource inputSource = new InputSource( modelId, getClass().getResource(resource).toExternalForm()); options.put(ModelProcessor.INPUT_SOURCE, new org.apache.maven.model.InputSource(inputSource)); return modelProcessor.read(is, options); } catch (IOException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java
try (InputStream is = getClass().getResourceAsStream("/poms/factory/complex.xml")) { InputSource inputSource = new InputSource(null, "classpath:/poms/factory/complex.xml"); Model model = new MavenStaxReader().read(is, true, inputSource); InputLocation propertiesLocation = model.getLocation("properties"); assertNotNull(propertiesLocation);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java
*/ package org.apache.maven.model.io.xpp3; import javax.xml.stream.XMLStreamException; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import org.apache.maven.model.InputSource; import org.apache.maven.model.Model; import org.apache.maven.model.v4.MavenStaxReader; import org.codehaus.plexus.util.xml.pull.XmlPullParserException; /** * @deprecated Use MavenStaxReader instead */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; import org.apache.maven.api.model.InputSource; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations.Level; import org.openjdk.jmh.annotations.Measurement;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.3K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java
} // -- InputLocation getOtherLocation( Object ) /** * Get the source field. * * @return InputSource */ public InputSource getSource() { return this.source; } // -- InputSource getSource() /** * Gets the parent InputLocation where this InputLocation may have been imported from. * Can return {@code null}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 11.5K bytes - Viewed (0)