Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for IS (0.09 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            // This test demonstrates that try-with-resources handles null safely
            try (InputStream is = null) {
                if (is == null) {
                    throw new IOException("Resource is null");
                }
                fail("Should not reach this point");
            } catch (IOException e) {
                assertEquals("Resource is null", e.getMessage());
                // No NullPointerException should be thrown when exiting try-with-resources
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

                        return mediaType.getType() + "/" + mediaType.getSubtype();
                    }
                }
    
                final MediaType mediaType = mimeTypes.detect(is == null || is.markSupported() ? is : new BufferedInputStream(is), metadata);
                if (useFilenameOnOctetStream && MediaType.OCTET_STREAM.equals(mediaType)) {
                    final MediaType mediaTypeFromFilename = mimeTypes.detect(null, metadata);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/crypto/CachedCipherTest.java

     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.crypto;
    
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.not;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/curl/io/ContentCache.java

     *
     * <p>When an instance of ContentCache is created with a byte array, the content is cached in memory.
     * When an instance is created with a File object, the content is cached in the specified file.
     *
     * <p>The {@code close()} method deletes the file if the content is cached in a file.
     *
     * <p>The {@code getInputStream()} method provides an InputStream to read the cached content.
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                            InputStream is = null;
                            try {
                                is = lhaFile.getInputStream(head);
                                final Map<String, String> map = new HashMap<>();
                                map.put(ExtractData.RESOURCE_NAME_KEY, filename);
                                buf.append(extractor.getText(new IgnoreCloseInputStream(is), map).getContent());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

            // Early return is safe here as no resources have been allocated yet
            if (StringUtil.isBlank(template)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Template is blank, returning null");
                }
                return null;
            }
    
            // Null-safety: use empty map if paramMap is null
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java

     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

         * @param <T> The type of the pooled object
         */
        @FunctionalInterface
        public interface OnDestroyListener<T> {
            /**
             * Called when a pooled object is being destroyed.
             * This method is invoked before the object is closed (if it implements AutoCloseable).
             *
             * @param p The pooled object being destroyed
             */
            void onDestroy(PooledObject<T> p);
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

        protected Cache<String, CrawlingConfig> crawlingConfigCache;
    
        /**
         * Initializes the CrawlingConfigHelper by setting up the crawling configuration cache.
         * This method is called automatically after the bean construction is complete.
         * The cache is configured with a maximum size of 100 entries and expires after 10 minutes.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19.5K bytes
    - Viewed (1)
Back to top