Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 348 for getTypes (0.11 sec)

  1. src/main/java/org/codelibs/core/xml/DomUtil.java

            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
                return new ByteArrayInputStream(contents.getBytes());
            }
            try {
                return new ByteArrayInputStream(contents.getBytes(encoding));
            } catch (final UnsupportedEncodingException ex) {
                throw new IORuntimeException(ex);
            }
        }
    
        /**
         * 属性の値をエンコードします。
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

                              <InputEncoding>UTF-8</InputEncoding>
                              <OutputEncoding>UTF-8</OutputEncoding>
                            </OpenSearchDescription>
                            """, new String(InputStreamUtil.getBytes(ins)));
                }
    
                @Override
                public OutputStream stream() {
                    return null;
                }
            });
        }
    
        public void test_init_osddpath_null() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

                  "-----END CERTIFICATE-----";
    
          CertificateFactory cf = CertificateFactory.getInstance("X.509");
          Certificate isgCertificate = cf.generateCertificate(new ByteArrayInputStream(isgCert.getBytes("UTF-8")));
    
          HandshakeCertificates certificates = new HandshakeCertificates.Builder()
                  .addTrustedCertificate((X509Certificate) isgCertificate)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Nov 17 07:40:31 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

            //final ExtractData text = extractor.getText(new ByteArrayInputStream(FileUtils.readFileToByteArray(new File(filePath))), params);
            final ExtractData text = extractor.getText(new ByteArrayInputStream(testStr.getBytes()), params);
            assertEquals(content, text.getContent());
        }
    
        // TODO other tests
    
        static class TestApiExtractorServer {
            private Server server;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                final String value = username + ":" + password;
                final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8));
                request.header("Authorization", basicAuth);
            }
            if (sslSocketFactory != null) {
                request.sslSocketFactory(sslSocketFactory);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                assertEquals("text/plain", responseData.getMimeType());
                assertTrue(responseData.getUrl().endsWith("text1.txt"));
                final String content = new String(InputStreamUtil.getBytes(responseData.getResponseBody()), "UTF-8");
                assertEquals("test1", content.trim());
            } finally {
                if (server != null) {
                    server.stop();
                }
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SID.java

            return new SID(this,
                        SID_TYPE_DOMAIN,
                        this.domainName,
                        null,
                        getType() != SID_TYPE_DOMAIN);
        }
        public int getRid() {
            if (getType() == SID_TYPE_DOMAIN)
                throw new IllegalArgumentException("This SID is a domain sid");
            return sub_authority[sub_authority_count - 1];
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                        return SearchConditionBuilder.builder(searchRequestBuilder).scroll().query(query).size(pageSize)
                                .responseFields(queryFieldConfig.getScrollResponseFields()).searchRequestType(params.getType()).build();
                    }, (searchResponse, hit) -> {
                        final Map<String, Object> docMap = new HashMap<>();
                        final Map<String, Object> source = hit.getSourceAsMap();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
    
            @Override
            public Locale getLocale() {
                return Locale.ROOT;
            }
    
            @Override
            public SearchRequestType getType() {
                return SearchRequestType.JSON;
            }
    
            @Override
            public String getSimilarDocHash() {
                return request.getParameter("sdh");
            }
    
            @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                    }
                    System.arraycopy( str.getBytes( UNI_ENCODING ), 0,
                                        dst, dstIndex, str.length() * 2 );
                    dstIndex += str.length() * 2;
                    dst[dstIndex++] = (byte)'\0';
                    dst[dstIndex++] = (byte)'\0';
                } else {
                    byte[] b = str.getBytes( OEM_ENCODING );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 21K bytes
    - Viewed (0)
Back to top