Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for bis (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = xmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("UTF-8", encoding);
        }
    
        public void test_getEncoding_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.xml");
            final BufferedInputStream bis = new BufferedInputStream(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = htmlXpathExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("UTF-8", encoding);
        }
    
        public void test_getEncoding_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html");
            final BufferedInputStream bis = new BufferedInputStream(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                final BufferedInputStream bis = new BufferedInputStream(in);
                final String enc = getEncoding(bis);
                final String content = UNESCAPE_HTML4.translate(new String(InputStreamUtil.getBytes(bis), enc));
                return createExtractData(content);
            } catch (final Exception e) {
                throw new ExtractException(e);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                    // XML Sitemaps
                    bis.reset();
                    return parseXmlSitemaps(bis);
                }
                if (preloadDate.indexOf("<sitemapindex") >= 0) {
                    // XML Sitemaps Index
                    bis.reset();
                    return parseXmlSitemapsIndex(bis);
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractorTest.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            final String encoding = htmlExtractor.getEncoding(bis);
            CloseableUtil.closeQuietly(bis);
            assertEquals("UTF-8", encoding);
        }
    
        public void test_getEncoding_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html");
            final BufferedInputStream bis = new BufferedInputStream(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            try (BufferedInputStream bis = new BufferedInputStream(inputSupplier.open(), BUFFER_SIZE)) {
                bis.mark(BUFFER_SIZE);
                XMLStreamReader xsr = XMLInputFactory.newFactory().createXMLStreamReader(bis);
                xsr.nextTag();
                String nsUri = xsr.getNamespaceURI();
                try (BufferedInputStream bis2 = reset(inputSupplier, bis)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

            }
            try {
                final BufferedInputStream bis = new BufferedInputStream(in);
                final String enc = getEncoding(bis);
    
                final DOMParser parser = getDomParser();
                final InputSource inputSource = new InputSource(bis);
                inputSource.setEncoding(enc);
                parser.parse(inputSource);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

            }
    
            final ResultData resultData = new ResultData();
            resultData.setTransformerName(getName());
    
            try (BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) {
                resultData.setData(IOUtils.toByteArray(bis));
                resultData.setEncoding(responseData.getCharSet());
                return resultData;
            } catch (final IOException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. LICENSES/third_party/forked/libcontainer/NOTICE

    United States and other governments.  
    It is your responsibility to ensure that your use and/or transfer does not
    violate applicable laws. 
    
    For more information, please see http://www.bis.doc.gov
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Tue Oct 22 13:56:22 UTC 2024
    - 518 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/CurlRequest.java

            private void writeContent(final Supplier<InputStream> handler) {
                try (BufferedInputStream bis = new BufferedInputStream(handler.get());
                        ContentOutputStream dfos = new ContentOutputStream(threshold, Curl.tmpDir)) {
                    final byte[] bytes = new byte[4096];
                    int length = bis.read(bytes);
                    while (length != -1) {
                        if (length != 0) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top