Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 517 for bile (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

                    }
                } else if (!file.mkdirs()) {
                    throw new CrawlerSystemException("Could not create " + file.getAbsolutePath());
                }
                targetFile = file;
            }
    
            File file = new File(targetFile, paths[paths.length - 1]);
            if (file.exists()) {
                for (int i = 0; i < maxDuplicatedPath; i++) {
                    file = new File(targetFile, paths[paths.length - 1] + "_" + i);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    responseData.setContentLength(file.length());
                    checkMaxContentLength(responseData);
    
                    parseFileOwnerAttribute(responseData, file);
    
                    responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                    responseData.setCharSet(getCharSet(file));
                    responseData.setLastModified(new Date(file.lastModified()));
                    if (file.canRead()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

         *
         * @param file
         *            The file. Must not be {@literal null}.
         * @return The text read from the file.
         */
        public static String readText(final File file) {
            assertArgumentNotNull("file", file);
            return readText(file, Charset.defaultCharset().name());
        }
    
        /**
         * Reads text from a file with the specified encoding.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        public static final int FILE_OPEN_IF = 0x3;
        /**
         * If file exists, overwrite it. Otherwise fail
         */
        public static final int FILE_OVERWRITE = 0x4;
        /**
         * If file exists, overwrite it. Otherwise create the file
         */
        public static final int FILE_OVERWRITE_IF = 0x5;
    
        /**
         * File being created or opened must be a directory
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  5. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            try {
                final int maxCount = 50;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
                file.delete();
                file.mkdirs();
                file.deleteOnExit();
                fileTransformer.setPath(file.getAbsolutePath());
                crawler.addUrl(url);
                crawler.crawlerContext.setMaxAccessCount(maxCount);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
            file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/FileUtilTest.java

        /**
         * Test isPathSafe with File objects
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_WithFiles() throws Exception {
            final File baseDir = tempFolder.getRoot();
            final File safeFile = new File(baseDir, "subdir/file.txt");
            final File unsafeFile = new File(baseDir, "../../../etc/passwd");
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        int FILE_WRITE_DATA = 0x00000002; // 2
        /** File append data access right */
        int FILE_APPEND_DATA = 0x00000004; // 3
        /** File read extended attributes access right */
        int FILE_READ_EA = 0x00000008; // 4
        /** File write extended attributes access right */
        int FILE_WRITE_EA = 0x00000010; // 5
        /** File execute access right */
        int FILE_EXECUTE = 0x00000020; // 6
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        /**
         * Returns the length of the file.
         *
         * @return the file length in bytes
         * @throws SmbException if an I/O error occurs
         */
        public long length() throws SmbException {
            return file.length();
        }
    
        /**
         * Sets the length of the file. The file will be truncated or extended as necessary.
         *
         * @param newLength the new file length in bytes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top