Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for lead (0.07 sec)

  1. src/main/java/org/codelibs/core/io/SerializeUtil.java

         * <p>
         * WARNING: Use this only when you completely trust the data source and have
         * other security measures in place. Unrestricted deserialization can lead to
         * remote code execution vulnerabilities.
         * </p>
         *
         * @return an ObjectInputFilter that allows all classes
         */
        public static ObjectInputFilter createPermissiveFilter() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            }
        }
    
        /**
         * Test that resource content is properly read using readAllBytes.
         * Verifies that the new implementation correctly reads entire resource content.
         */
        @Test
        public void testResourceReading_readAllBytesCorrectness() throws Exception {
            // Read using the new method (readAllBytes)
            String contentNew;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

         * Parses mapping rules in the format: input1,input2,... => output
         *
         * @param updater the mapping updater to use for writing changes, or null for read-only reload
         * @param in the input stream to read the mapping data from
         */
        protected void reload(final MappingUpdater updater, final InputStream in) {
            final Pattern parsePattern = Pattern.compile("(.*?)\\s*+=>\\s*+(.*?)\\s*+$");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

     *   <li>writeTimeout - Write timeout in milliseconds (default: 10000)</li>
     *   <li>readTimeout - Read timeout in milliseconds (default: 10000)</li>
     * </ul>
     *
     * <p>The client supports URLs in the format: {@code gcs://bucket-name/object-path}
     *
     * <p>Features:
     * <ul>
     *   <li>Automatic initialization of GCS client</li>
     *   <li>Support for HEAD and GET operations</li>
     *   <li>Content length validation</li>
     *   <li>MIME type detection</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

     *   <li>readTimeout - Read timeout in milliseconds (default: 10000)</li>
     * </ul>
     *
     * <p>The client supports URLs in the format: {@code s3://bucket-name/object-path}
     *
     * <p>Features:
     * <ul>
     *   <li>Automatic initialization of AWS S3 client</li>
     *   <li>Support for HEAD and GET operations</li>
     *   <li>Content length validation</li>
     *   <li>MIME type detection</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                    throw new IOException("Failed to access " + url, e);
                }
            }
    
            /**
             * Gets the object head response from the S3 service.
             * This method caches the response to avoid repeated calls.
             *
             * @return The object head response
             * @throws IOException If an error occurs
             */
            private HeadObjectResponse getHeadObject() throws IOException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

         */
        public void setOutputEncoding(final String outputEncoding) {
            this.outputEncoding = outputEncoding;
        }
    
        /**
         * Sets whether to read content as text if extraction fails.
         * @param readAsTextIfFailed If true, read a content as a text when an extraction fails.
         */
        public void setReadAsTextIfFailed(final boolean readAsTextIfFailed) {
            this.readAsTextIfFailed = readAsTextIfFailed;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 30.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                                    responseData.setResponseBody(InputStreamUtil.getBytes(contentStream));
                                } catch (final Exception e) {
                                    logger.warn("Failed to read file content: file={}, size={}", file.getAbsolutePath(), file.length(), e);
                                    responseData.setHttpStatusCode(Constants.SERVER_ERROR_STATUS_CODE);
                                }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                }
                final int c = bomIn.read(b);
    
                if (c == -1) {
                    return encoding;
                }
    
                final String head = new String(b, 0, c, encoding);
                if (StringUtil.isBlank(head)) {
                    return encoding;
                }
                final Matcher matcher = getEncodingPattern().matcher(head);
                if (matcher.find()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/FileUtil.java

                ChannelUtil.read(channel, buffer);
                return buffer.array();
            } finally {
                CloseableUtil.close(is);
            }
        }
    
        /**
         * Reads text from a file using the default encoding.
         *
         * @param path
         *            The file path. Must not be {@literal null} or empty.
         * @return The text read from the file.
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top