Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,330 for files (0.03 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

         * @throws FileAccessException
         *             If the file cannot be accessed or created.
         */
        public DynamicProperties(final File file) {
            // check path
            if (file == null) {
                throw new FileAccessException("ECL0108");
            }
    
            this.propertiesFile = file;
            if (!this.propertiesFile.exists()) {
                final File parentDir = this.propertiesFile.getParentFile();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            for (int i = 1; i <= 10; i++) {
                final File file = new File(dir, "file" + count + "-" + i + ".html");
                file.deleteOnExit();
                FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8"));
                final File childDir = new File(dir, "dir" + count + "-" + i);
                childDir.mkdirs();
                generateContents(childDir, count - 1);
            }
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/PropertiesUtil.java

        /**
         * Loads the specified file into the {@link Properties} using the platform default encoding (wraps exception handling).
         *
         * @param props
         *            Property set. Must not be {@literal null}.
         * @param file
         *            File. Must not be {@literal null}.
         */
        public static void load(final Properties props, final File file) {
            load(props, file, Charset.defaultCharset().name());
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/SuggestJob.java

            // WEB-INF/env/suggest/lib
            appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/env/" + getExecuteType() + "/lib")),
                    "WEB-INF" + File.separator + "env" + File.separator + getExecuteType() + File.separator + "lib" + File.separator);
            // WEB-INF/plugin
            appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/plugin")),
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            // WEB-INF/env/thumbnail/lib
            appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/env/" + getExecuteType() + "/lib")),
                    "WEB-INF" + File.separator + "env" + File.separator + getExecuteType() + File.separator + "lib" + File.separator);
            // WEB-INF/plugin
            appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/plugin")),
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/SmbBasicFileInfo.java

         *
         * @return file create time
         */
        long getCreateTime();
    
        /**
         * Gets the file last write time.
         *
         * @return file last write time
         */
        long getLastWriteTime();
    
        /**
         * Gets the file last access time.
         *
         * @return file last access time
         */
        long getLastAccessTime();
    
        /**
         * Gets the file size in bytes.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileInformation.java

        // information levels
    
        /**
         * File end-of-file information class constant.
         */
        byte FILE_ENDOFFILE_INFO = 20;
    
        /**
         * File basic information class constant.
         */
        byte FILE_BASIC_INFO = 0x4;
        /**
         * File standard information class constant.
         */
        byte FILE_STANDARD_INFO = 0x5;
    
        /**
         * File internal information class constant.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            // Create a temporary lmhosts file
            File lmhostsFile = tempDir.resolve("lmhosts").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.100 TESTHOST\n");
            }
    
            when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath());
    
            // First call should read the file
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

         *
         * @param file the file (must not be {@literal null})
         * @return a {@link FileOutputStream} to output to the file
         * @see FileOutputStream#FileOutputStream(File)
         */
        public static FileOutputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return new FileOutputStream(file);
            } catch (final IOException e) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/PathValidatorTest.java

            String url = "smb://server/share/folder/file.txt";
            String normalized = validator.validateSmbUrl(url);
            assertTrue(normalized.startsWith("smb://"));
            assertTrue(normalized.contains("server"));
            assertTrue(normalized.contains("/share/folder/file.txt") || normalized.contains("\\share\\folder\\file.txt"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
Back to top