Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for setData (0.23 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl();
            accessResultDataImpl.setData(value.getBytes(Constants.UTF_8));
            accessResultDataImpl.setEncoding(Constants.UTF_8);
            accessResultDataImpl.setTransformerName("xpathTransformer");
    
            final Object obj = xpathTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl();
            accessResultDataImpl.setData(value.getBytes(Constants.UTF_8));
            accessResultDataImpl.setEncoding(Constants.UTF_8);
            accessResultDataImpl.setTransformerName("xmlTransformer");
    
            final Object obj = xmlTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl();
            accessResultDataImpl.setData(value.getBytes());
            accessResultDataImpl.setEncoding(Constants.UTF_8);
            accessResultDataImpl.setTransformerName("htmlTransformer");
    
            final Object obj = htmlTransformer.getData(accessResultDataImpl);
            assertEquals(value, obj);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                try {
                    resultData.setData(data.getBytes(charsetName));
                } catch (final UnsupportedEncodingException e) {
                    if (logger.isInfoEnabled()) {
                        logger.info("Invalid charsetName: " + charsetName + ". Changed to " + Constants.UTF_8, e);
                    }
                    charsetName = Constants.UTF_8_CHARSET.name();
                    resultData.setData(data.getBytes(Constants.UTF_8_CHARSET));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            Text comment = (Text) firstNode.getFirstChild();
            Matcher matcher = ACCESSOR_COMMENT_PATTERN.matcher(comment.getData());
            if (matcher.lookingAt()) {
                String theOrWhether = matcher.group(1).toLowerCase(Locale.US);
                comment.setData(StringUtils.capitalize(theOrWhether) + " " + comment.getData().substring(matcher.end()));
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    if ( this.smb2 ) {
                        Smb2WriteRequest wr = new Smb2WriteRequest(th.getConfig(), fh.getFileId());
                        wr.setOffset(this.fp);
                        wr.setData(b, off, w);
    
                        Smb2WriteResponse resp = th.send(wr, RequestParam.NO_RETRY);
                        long cnt = resp.getCount();
                        this.fp += cnt;
                        len -= cnt;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            try (final InputStream is = responseData.getResponseBody()) {
                final byte[] data = InputStreamUtil.getBytes(is);
                resultData.setData(data);
                resultData.setEncoding(responseData.getCharSet());
            } catch (final CrawlerSystemException e) {
                throw e;
            } catch (final Exception e) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        request.setOffset(this.fp);
                        request.setRemainingBytes(len - w - off);
                        request.setData(b, off, w);
                        Smb2WriteResponse resp = th.send(request, RequestParam.NO_RETRY);
                        cnt = resp.getCount();
                    }
                    else {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                return abbreviateSite("\\\\" + value.replace('/', '\\'));
            }
    
            return getSite(url, encoding);
        }
    
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
                    return SerializeUtil.fromBinaryToObject(data);
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

        }
    
        protected PathMappingHelper getPathMappingHelper() {
            return ComponentUtil.getPathMappingHelper();
        }
    
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
                    return SerializeUtil.fromBinaryToObject(data);
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top