Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,184 for _file (0.79 sec)

  1. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            }
    
            // Test basic properties
            assertTrue(file.exists(), "File should exist");
            assertTrue(file.canRead(), "File should be readable");
            assertTrue(file.canWrite(), "File should be writable");
            assertEquals(content.length(), file.length(), "File length should match");
    
            // Test timestamps
            long lastModified = file.lastModified();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  2. 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)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            String path;
            File file;
            File resultFile;
    
            path = "hoge.html";
            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, path);
            assertEquals(resultFile, file);
            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "foo1/hoge.html";
            file = fileTransformer.createFile(path);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. 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)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

        /**
         * Processes access control entries (ACEs) for the given SMB file and adds them to the response data.
         *
         * @param responseData the response data to update
         * @param file the SMB file to process
         */
        protected void processAccessControlEntries(final ResponseData responseData, final SmbFile file) {
            try {
                final ACE[] aces = file.getSecurity(resolveSids);
                if (aces != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  6. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = data.clone();
            this.file = null;
        }
    
        /**
         * Constructs a ContentCache with the given file.
         *
         * @param file the file containing the content
         * @throws IllegalArgumentException if file is null
         */
        public ContentCache(final File file) {
            if (file == null) {
                throw new IllegalArgumentException("file must not be null");
            }
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessFileTransformer.java

    /**
     * File transformer implementation for the Fess search engine.
     * This transformer handles file-based document transformation and content extraction
     * using the Fess file transformation process with support for various file types.
     *
     * <p>It extends AbstractFessFileTransformer to provide specialized file processing
     * capabilities using the appropriate extractor for each file type.</p>
     */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/resources/jcifs/smb1/util/mime.map

    application/zip                zip jar          # ZIP Compressed File
    audio/basic                    au snd           # Audio Sound File
    audio/x-aiff                   aif aiff aifc    # AIFF Sound File
    audio/x-midi                   mid              # MIDI Sound File
    audio/x-pn-realaudio           ra ram rm rpm    # REALAUDIO Sound File
    audio/x-wav                    wav              # WAV Sound File
    audio/x-mpegurl                mp3              # MP3 Sound File
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top