Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for setText (0.11 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

     */
    package gradlebuild.docs
    
    import groovy.xml.dom.DOMCategory
    import org.w3c.dom.Element
    import org.w3c.dom.Node
    
    class BuildableDOMCategory extends DOMCategory {
        public static void setText(Element element, String value) {
            while (element.hasChildNodes()) {
                element.removeChild(element.getFirstChild())
            }
            element.appendChild(element.ownerDocument.createTextNode(value))
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            return docFreq;
        }
    
        public float getUserBoost() {
            return userBoost;
        }
    
        public ZonedDateTime getTimestamp() {
            return timestamp;
        }
    
        public void setText(final String text) {
            this.text = text;
        }
    
        public void setTimestamp(final ZonedDateTime timestamp) {
            this.timestamp = timestamp;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            ServerMessageBlock2Request<?> n = getNext();
            if ( n != null ) {
                setNext(null);
                n.clearFlags(SMB2_FLAGS_RELATED_OPERATIONS);
            }
            return n;
        }
    
    
        /**
         * 
         * @param next
         */
        public void setNext ( ServerMessageBlock2Request<?> next ) {
            super.setNext(next);
        }
    
    
        /**
         * {@inheritDoc}
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            try {
                tikaExtractor.getText(in, null);
                fail();
            } catch (final ExtractException e) {
                logger.info(e.getMessage());
            }
        }
    
        public void test_getTika_tar() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/tar/test.tar");
            final ExtractData extractData = tikaExtractor.getText(in, null);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            ExtractData extractData = jodExtractor.getText(in, null);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
                jodExtractor.getText(null, null);
                fail();
            } catch (CrawlerSystemException e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java

            final String content = xmlExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getXml_entity() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_entity.xml");
            final String content = xmlExtractor.getText(in, null).getContent();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractorTest.java

            final String content = htmlXpathExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getHtml_sjis() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_sjis.html");
            final String content = htmlXpathExtractor.getText(in, null).getContent();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsVisioExtractor.java

     *
     */
    public class MsVisioExtractor extends AbstractExtractor {
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.extractor.Extractor#getText(java.io.InputStream,
         * java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractor.java

     */
    public class MsPowerPointExtractor extends AbstractExtractor {
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.extractor.Extractor#getText(java.io.InputStream,
         * java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

                    createDefaultReadingConverter(), createDefaultNormalizer());
            SuggestItem item = items.get(0);
            assertEquals("検索エンジン", item.getText());
            assertEquals(SuggestItem.Kind.QUERY, item.getKinds()[0]);
            assertEquals(1, item.getQueryFreq());
        }
    
        public void test_parseQueryLog2Word() throws Exception {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top