Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 220 for getData (0.11 sec)

  1. 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());
            }
    
            // create handler
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

     * abused as a cache (i.e. for storing values that can be re-calculated) to avoid memory exhaustion.
     * <p>
     * <strong>Note:</strong> Actual implementations must be thread-safe.
     *
     * @see Session#getData()
     * @since 4.0.0
     */
    @Experimental
    @ThreadSafe
    @Provider
    public interface SessionData {
    
        /**
         * Associates the specified session data with the given key.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

                RepositorySystemSession session, ArtifactDescriptorResult artifactDescriptorResult, Model model)
                throws ArtifactDescriptorException {
            Relocations relocations = (Relocations) session.getData()
                    .computeIfAbsent(getClass().getName() + ".relocations", () -> parseRelocations(session));
            if (relocations != null) {
                Artifact original = artifactDescriptorResult.getRequest().getArtifact();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                        if (dfos.isInMemory()) {
                            responseData.setResponseBody(dfos.getData());
                            contentLength = dfos.getData().length;
                            if (contentType == null) {
                                try (InputStream is = new ByteArrayInputStream(dfos.getData())) {
                                    contentType = mimeTypeHelper.getContentType(is, url);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                final Transformer transformer = ((DefaultResponseProcessor) responseProcessor).getTransformer();
                final ResultData resultData = transformer.transform(responseData);
                final byte[] data = resultData.getData();
                if (data != null) {
                    try {
                        return (Map<String, Object>) SerializeUtil.fromBinaryToObject(data);
                    } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                int length = msg.getLength() - raxr.getDataLength();
                update(data, index, length - SmbConstants.SIGNATURE_OFFSET - 8);
                update(raxr.getData(), raxr.getOffset(), raxr.getDataLength());
            }
            else {
                update(data, index, msg.getLength() - SmbConstants.SIGNATURE_OFFSET - 8);
            }
            byte[] signature = digest();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/CurlRequest.java

                    logger.fine(() -> "Response in " + (dfos.isInMemory() ? "Memory" : "File"));
                    if (dfos.isInMemory()) {
                        contentCache = new ContentCache(dfos.getData());
                    } else {
                        contentCache = new ContentCache(dfos.getFile());
                    }
                    response.setContentCache(contentCache);
                } catch (final Exception e) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Sun Feb 12 12:21:25 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

                    } ;
                    return t.send(request, response, params);
                }
                catch ( DfsReferral dre ) {
                    if ( dre.getData().unwrap(DfsReferralDataInternal.class).isResolveHashes() ) {
                        throw dre;
                    }
                    request.reset();
                    log.trace("send0", dre);
                }
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        final ResultData resultData = transformer.transform(responseData);
                        final byte[] data = resultData.getData();
                        if (data != null) {
                            try {
                                @SuppressWarnings("unchecked")
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K 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