- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for InputSource (0.06 sec)
-
compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java
/** * Default constructor for InputSource. */ public InputSource() {} /** * Creates a new InputSource from an API model InputSource. * This constructor is used for converting between the API model and the compat model. * * @param source the API model InputSource to convert from */ public InputSource(org.apache.maven.api.model.InputSource source) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.6K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 3.8K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 3.6K 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 13.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
*/ public static Map<String, Object> getDataMap(final AccessResultData<?> accessResultData) { // create input source final InputSource is = new InputSource(new ByteArrayInputStream(accessResultData.getData())); if (StringUtil.isNotBlank(accessResultData.getEncoding())) { is.setEncoding(accessResultData.getEncoding()); }Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 9.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java
final String enc = getEncoding(bis); final DOMParser parser = getDomParser(); final InputSource inputSource = new InputSource(bis); inputSource.setEncoding(enc); parser.parse(inputSource); final Document document = parser.getDocument(); final StringBuilder buf = new StringBuilder(255);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Oct 04 08:47:19 UTC 2025 - 10.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/interpolation/StringSearchModelInterpolatorTest.java
* under the License. */ package org.apache.maven.project.interpolation; import java.util.Map; import org.apache.maven.api.model.InputLocation; import org.apache.maven.api.model.InputSource; import org.apache.maven.api.model.Model; import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException; import org.junit.jupiter.api.Test; class StringSearchModelInterpolatorTest {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 1.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/settings/PomConstructionWithSettingsTest.java
try (InputStream is = Files.newInputStream(settingsFile.toPath())) { SettingsStaxReader reader = new SettingsStaxReader(); InputSource source = InputSource.of(settingsFile.toString()); return new Settings(reader.read(is, true, source)); } }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java
import org.codelibs.fess.crawler.util.XPathAPI; import org.codelibs.nekohtml.parsers.DOMParser; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.xml.sax.InputSource; /** * Extracts text content from HTML documents. */ public class HtmlExtractor extends AbstractXmlExtractor { /** Logger for this class. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Oct 04 08:47:19 UTC 2025 - 9.3K bytes - Viewed (0)