Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,184 for _file (1.03 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            }
        }
    
        @Test
        public void testFileBasedCacheCloseNonExistentFile() {
            tempFile = new File(Curl.tmpDir, "non-existent-file.tmp");
            assertFalse(tempFile.exists());
    
            ContentCache cache = new ContentCache(tempFile);
    
            // Should throw IOException when file doesn't exist
            try {
                cache.close();
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosFileFilterTest.java

            // Then the result should be as expected
            if (expectedResult) {
                assertTrue(result, "File should be accepted");
            } else {
                assertFalse(result, "File should not be accepted");
            }
        }
    
        /**
         * Tests that the accept method returns true when the file has more attributes
         * than the filter, but all filter attributes are present in the file's attributes.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

            getStopwordsFile(dictId).ifPresent(file -> {
                if (stopwordsItem.getId() == 0) {
                    file.insert(stopwordsItem);
                } else {
                    file.update(stopwordsItem);
                }
            });
        }
    
        /**
         * Deletes a stopword item from the specified dictionary.
         *
         * @param dictId        The ID of the dictionary.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/SynonymService.java

            return getSynonymFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Stores a synonym item in the specified dictionary.
         *
         * @param dictId      The ID of the dictionary.
         * @param synonymItem The synonym item to store.
         */
        public void store(final String dictId, final SynonymItem synonymItem) {
            getSynonymFile(dictId).ifPresent(file -> {
                if (synonymItem.getId() == 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

    package jcifs.internal.fscc;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * File System Control Code (FSCC) structure for File Internal Information.
     * Provides access to the file's internal index number, which is a unique identifier
     * assigned by the file system for internal tracking and reference purposes.
     *
     * @author mbechler
     */
    public class FileInternalInfo implements FileInformation {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

                    out.write(in);
                }
            });
        }
    
        /**
         * Determines the MIME type of an image file based on its file extension.
         *
         * @param imageFile the image file
         * @return the MIME type string
         */
        protected String getImageMimeType(final File imageFile) {
            final String path = imageFile.getAbsolutePath();
            if (path.endsWith(".png")) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

        }
    
        /**
         * Gets the output content from the converted file.
         *
         * @param outputFile the converted output file
         * @param outExt the output file extension
         * @return the extracted text content
         * @throws ExtractException if an error occurs while reading the file
         */
        protected String getOutputContent(final File outputFile, final String outExt) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/DesignForm.java

        }
    
        /**
         * The multipart file containing the design content to upload.
         */
        public MultipartFormFile designFile;
    
        /**
         * The name of the design file being uploaded.
         */
        public String designFileName;
    
        /**
         * The target file name for the design file.
         */
        public String fileName;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            }
        }
    
        public void test_responseBodyFile() throws IOException {
            // Test response body with file
            ResponseData data = new ResponseData();
    
            File tempFile = File.createTempFile("test", ".txt");
            try {
                String content = "File content";
                Files.write(tempFile.toPath(), content.getBytes(StandardCharsets.UTF_8));
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

        private final File tempFile;
    
        private final FileInputStream fileInputStream;
    
        /**
         * A class that provides an input stream for reading from a temporary file.
         * This class wraps a {@link FileInputStream} to read from the specified temporary file.
         *
         * @param tempFile the temporary file to be read
         * @throws FileNotFoundException if the specified file does not exist
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top