Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 164 for filenames (1.78 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

        private final int tflags;
        private String filename;
        private final long maxItems;
    
        /**
         * Constructs a Trans2FindNext2 request for continuing a file search.
         *
         * @param config the configuration to use
         * @param sid the search ID from a previous FindFirst2 response
         * @param resumeKey the resume key for continuing the search
         * @param filename the last filename from the previous response
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java

     */
    public interface MimeTypeHelper {
        /**
         * Determines the content type of the given input stream and filename.
         * @param is the input stream to analyze
         * @param filename the filename to help determine the content type
         * @return the detected content type
         */
        String getContentType(InputStream is, String filename);
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java

    /**
     * Extracts the filename from the parameters as the content.
     *
     * <p>This extractor is useful when you want to index only the filename or resource name
     * without processing the actual file content. The input stream is validated but not
     * read - only the filename from the parameters is used as the extracted content.</p>
     *
     * <p>The filename is retrieved from the {@link ExtractData#RESOURCE_NAME_KEY} parameter.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            params.put(ExtractData.RESOURCE_NAME_KEY, "filename.txt");
    
            final ExtractData result = filenameExtractor.getText(in, params);
    
            assertNotNull(result);
            assertEquals("filename.txt", result.getContent());
            // Verify stream was not consumed
            assertEquals(testData.length, in.available());
        }
    
        /**
         * Test extraction with empty string filename.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java

            super(config, SMB2_CLOSE);
            this.fileId = fileId;
            this.fileName = fileName;
        }
    
        /**
         * Constructs a close request with file ID only
         *
         * @param config
         *            The configuration to use
         * @param fileId
         *            The file ID to close
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        void testFilenameHandling(String filename) {
            // Test various filename formats
            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, filename, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            byte[] buffer = new byte[1024];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
            // Verify filename is written and can be read back
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2);
            if (filename.equals("\\") || (filename.charAt(filename.length() - 1) == '\\')) {
                this.path = filename;
            } else {
                this.path = filename + "\\";
            }
            this.wildcard = wildcard;
            this.searchAttributes = searchAttributes & 0x37; /* generally ignored tho */
    
            this.tflags = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         * @param fileId
         *            The file ID that was closed
         * @param fileName
         *            The name of the file that was closed
         */
        public Smb2CloseResponse(final Configuration config, final byte[] fileId, final String fileName) {
            super(config);
            this.fileId = fileId;
            this.fileName = fileName;
        }
    
        /**
         * Get the close flags
         *
         * @return the closeFlags
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

        /**
         * Constructs a query information request.
         *
         * @param config the configuration
         * @param filename the file name to query
         */
        public SmbComQueryInformation(final Configuration config, final String filename) {
            super(config, SMB_COM_QUERY_INFORMATION, filename);
        }
    
        @Override
        protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PluginHelper.java

        /**
         * Creates an artifact instance from a filename.
         *
         * @param artifactType the type of the artifact
         * @param filename the filename to parse
         * @return an artifact instance
         */
        protected Artifact getArtifactFromFileName(final ArtifactType artifactType, final String filename) {
            return getArtifactFromFileName(artifactType, filename, null);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top