Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for tripped (0.06 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

     * This can be useful when you want to prevent the underlying input stream from being closed.
     *
     * <p>All other methods delegate to the wrapped input stream.</p>
     *
     */
    public class IgnoreCloseInputStream extends InputStream {
    
        /** The wrapped input stream. */
        private InputStream inputStream;
    
        /**
         * Constructs a new IgnoreCloseInputStream that wraps the specified input stream.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         * Skips over and discards {@code n} bytes of data from this input stream.
         * This method delegates to {@link FileInputStream#skip(long)}.
         *
         * @param n the number of bytes to be skipped
         * @return the actual number of bytes skipped
         * @throws IOException if an I/O error occurs.
         */
        @Override
        public long skip(final long n) throws IOException {
            return fileInputStream.skip(n);
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java

            InputStream underlyingStream = new ByteArrayInputStream(data);
            IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream);
    
            long skipped = stream.skip(5);
            assertEquals(5, skipped);
            assertEquals('5', stream.read());
        }
    
        public void test_markSupported_delegatesToUnderlying() {
            // Test that markSupported() delegates to underlying stream
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                fos.write("0123456789".getBytes());
            }
    
            try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) {
                long skipped = stream.skip(5);
                assertEquals(5, skipped);
                assertEquals('5', stream.read());
                assertEquals('6', stream.read());
            }
        }
    
        public void test_markAndReset() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

                final PDFTextStripper stripper = new PDFTextStripper();
                final AtomicBoolean done = new AtomicBoolean(false);
                final PDDocument doc = document;
                final Set<Exception> exceptionSet = new HashSet<>();
                final Thread task = new Thread(() -> {
                    try {
                        stripper.writeText(doc, writer);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                    fos = new FileOutputStream(newFile);
                    writer = new BufferedWriter(new OutputStreamWriter(fos, Constants.UTF_8));
                    fos = null; // Successfully wrapped, no need to close explicitly
                } catch (final Exception e) {
                    if (fos != null) {
                        try {
                            fos.close();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/ExecJob.java

         */
        public ExecJob logLevel(final String logLevel) {
            this.logLevel = logLevel;
            return this;
        }
    
        /**
         * Sets the log suffix for this job execution.
         * The suffix is trimmed and whitespace is replaced with underscores.
         *
         * @param logSuffix the suffix to append to log file names
         * @return this ExecJob instance for method chaining
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                accessResultList.add(accessResult);
    
                if (accessResult.getHttpStatusCode() != 200) {
                    // invalid page
                    if (logger.isDebugEnabled()) {
                        logger.debug("Skipped: httpStatusCode={}", accessResult.getHttpStatusCode());
                    }
                    continue;
                }
    
                final long startTime = systemHelper.getCurrentTimeAsLong();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

        }
    
        // ========== Error Tolerance Tests ==========
    
        public void test_parseXmlSitemaps_missingLocElement() {
            // URL entry without loc element should be skipped, but others should be parsed
            final String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (searchLogQueue.size() > fessConfig.getLoggingSearchMaxQueueSizeAsInteger()) {
                logger.warn("[{}] The search log queue size is too large. Skipped the search log: {}", queryId, query);
                return;
            }
    
            final RoleQueryHelper roleQueryHelper = ComponentUtil.getRoleQueryHelper();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top