Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for extentions (0.05 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

         * Gets the extractor for the specified file extension.
         *
         * @param ext the file extension
         * @return the extractor for the extension, or null if not found
         */
        private Extractor getExtractor(final String ext) {
            return extractorMap.get(ext);
        }
    
        /**
         * Gets the output extension for the specified input extension.
         *
         * @param extension the input file extension
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                        createTempFile("cmdextin_" + filePrefix + "_", StringUtil.isNotBlank(extention) ? "." + extention : extention, tempDir);
                String ext;
                if (outputExtension == null) {
                    if (StringUtil.isNotBlank(extention)) {
                        ext = "." + extention;
                    } else {
                        ext = extention;
                    }
                } else {
                    ext = outputExtension;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            this.commandDestroyTimeout = commandDestroyTimeout;
        }
    
        /**
         * Gets file extension from MIME type for creating temp files with proper extensions.
         * This helps ImageMagick correctly identify file formats.
         * @param mimeType The MIME type of the content.
         * @return The file extension including the dot (e.g., ".gif"), or empty string if unknown.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceTest.java

            @DisplayName("close method should not declare exceptions")
            void testCloseMethodExceptions() throws NoSuchMethodException {
                // Given
                Method closeMethod = SmbResource.class.getMethod("close");
    
                // When
                Class<?>[] exceptions = closeMethod.getExceptionTypes();
    
                // Then
                assertEquals(0, exceptions.length, "close() should not declare any exceptions");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportInternalTest.java

    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.SmbSession;
    
    /**
     * Tests for SmbTransportInternal interface using Mockito mocks to
     * exercise method contracts, checked exceptions, and interactions.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbTransportInternalTest {
    
        @Mock
        private SmbTransportInternal transport;
    
        @Mock
        private jcifs.CIFSContext ctx;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            verify(fd, never()).markClosed();
        }
    
        @Test
        @DisplayName("available() wraps SmbException to IOException")
        void available_wrapsException() throws Exception {
            // Verify exceptions from th.send are converted to IOException via seToIoe
            SmbPipeInputStream stream = newStreamWithMinimalStubs(true);
    
            when(handle.ensureOpen()).thenReturn(fd);
            when(fd.getTree()).thenReturn(tree);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            byte[] b = new byte[] { 10, 11, 12 };
            spyTarget.send(b, 1, 2);
            verify(out).writeDirect(b, 1, 2, 1);
        }
    
        @Test
        @DisplayName("sendrecv with null buffers throws relevant exceptions")
        void testSendRecvInvalidInputs() throws CIFSException {
            // Null out buffer for SMB2 path -> expect NPE when building request
            when(pipe.ensureTreeConnected()).thenReturn(tree);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete within timeout");
            executor.shutdown();
    
            // Then - Verify no exceptions occurred
            if (!exceptions.isEmpty()) {
                fail("Concurrent operations caused exceptions: " + exceptions.get(0));
            }
    
            assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/ResourceUtil.java

         * @param extension
         *            The extension.
         * @return The resource path.
         */
        public static String getResourcePath(final String path, final String extension) {
            assertArgumentNotNull("path", path);
    
            if (extension == null) {
                return path;
            }
            final String ext = "." + extension;
            if (path.endsWith(ext)) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  10. pom.xml

    					</archive>
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.apache.felix</groupId>
    				<artifactId>maven-bundle-plugin</artifactId>
    				<version>6.0.0</version>
    				<extensions>true</extensions>
    
    				<configuration>
    					<instructions>
    						<Bundle-Version>${osgi.version}</Bundle-Version>
    						<Bundle-License>LGPL</Bundle-License>
    						<Bundle-Vendor>CodeLibs</Bundle-Vendor>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top