- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for parsers (0.05 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
spfactory.setFeature(Constants.FEATURE_EXTERNAL_PARAMETER_ENTITIES, false); final SAXParser parser = spfactory.newSAXParser(); disableExternalResources(parser); parser.parse(in, handler); } catch (final Exception e) { throw new SitemapsException("Could not parse XML Sitemaps.", e); } return handler.getSitemapSet(); }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
final SAXParser parser = factory.newSAXParser(); parser.setProperty(XMLConstants.ACCESS_EXTERNAL_DTD, StringUtil.EMPTY); parser.setProperty(XMLConstants.ACCESS_EXTERNAL_SCHEMA, StringUtil.EMPTY); parser.parse(is, this); } catch (final Exception e) { throw new GsaConfigException("Failed to parse XML file.", e); } } @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.stream.Collectors; import javax.xml.XMLConstants; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.apache.commons.lang3.StringUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.io.CopyUtil;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 01:47:10 UTC 2024 - 17.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java
import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.xml.XMLConstants; import javax.xml.namespace.NamespaceContext; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.xpath.XPath; import javax.xml.xpath.XPathExpressionException; import javax.xml.xpath.XPathNodes; import org.codelibs.core.beans.util.BeanUtil;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 17.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java
final DOMParser parser = new DOMParser(); final String html = "<html><body>" + text + "</body></html>"; final ByteArrayInputStream is = new ByteArrayInputStream(html.getBytes("UTF-8")); parser.parse(new InputSource(is)); Node node = parser.getDocument().getFirstChild().getLastChild().getFirstChild(); return tag.matches(node); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
try (final InputStream is = responseData.getResponseBody()) { final DOMParser parser = getDomParser(); parser.parse(new InputSource(is)); final Document document = parser.getDocument(); // base href final String baseHref = getBaseHref(document); URI uri; try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Oct 24 12:16:00 UTC 2024 - 19.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
is.setEncoding(responseData.getCharSet()); } parser.parse(is); } catch (final Exception e) { throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e); } final Document document = parser.getDocument(); processMetaRobots(responseData, resultData, document);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 42.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
} private Document getDocument(final String data) throws Exception { final DOMParser parser = new DOMParser(); final ByteArrayInputStream is = new ByteArrayInputStream(data.getBytes("UTF-8")); parser.parse(new InputSource(is)); return parser.getDocument(); } private String getXmlString(final Node node) throws Exception {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 41.3K bytes - Viewed (0) -
src/archive/zip/reader.go
// n is length of comment n := int(b[i+directoryEndLen-2]) | int(b[i+directoryEndLen-1])<<8 if n+directoryEndLen+i > len(b) { // Truncated comment. // Some parsers (such as Info-ZIP) ignore the truncated comment // rather than treating it as a hard error. return -1 } return i } } return -1 } type readBuf []byte
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
p.start(op) if name, abi, ok := p.funcAddress(); ok { fmt.Fprintf(w, "ref %s %s\n", name, abi) } } } func (p *Parser) start(operand []lex.Token) { p.input = operand p.inputPos = 0 } // address parses the operand into a link address structure. func (p *Parser) address(operand []lex.Token) obj.Addr { p.start(operand) addr := obj.Addr{} p.operand(&addr) return addr }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 36.9K bytes - Viewed (0)