Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for vfsfile (3.13 sec)

  1. src/main/java/org/codelibs/core/net/URLUtil.java

        protected static final Map<String, String> CANONICAL_PROTOCOLS = newHashMap();
        static {
            CANONICAL_PROTOCOLS.put("wsjar", "jar"); // Proprietary protocol used by WebSphere for jar files
            CANONICAL_PROTOCOLS.put("vfsfile", "file"); // Proprietary protocol used by JBossAS5 for file system
        }
    
        /**
         * Opens a URL and returns an {@link InputStream}.
         *
         * @param url
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

     * <li>{@literal zip} (WebLogic proprietary protocol, use {@literal jar} protocol for normal zip files)</li>
     * <li>{@literal code-source} (Oracle AS(OC4J) proprietary protocol)</li>
     * <li>{@literal vfsfile} (JBossAS5 proprietary protocol, alias for {@literal file})</li>
     * <li>{@literal vfszip} (JBossAS5 proprietary protocol)</li>
     * </ul>
     *
     * @author koichik
     * @see URLUtil#toCanonicalProtocol(String)
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

            void testFileTypeChecks() throws CIFSException {
                // Given
                when(mockResource.isFile()).thenReturn(true);
                when(mockResource.isDirectory()).thenReturn(false);
                when(mockResource.isHidden()).thenReturn(false);
    
                // When
                boolean isFile = mockResource.isFile();
                boolean isDirectory = mockResource.isDirectory();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/DynamicProperties.java

                    throw new FileAccessException("ECL0110", new Object[] { file.getAbsolutePath() });
                }
                properties = new Properties();
                store();
            } else if (!this.propertiesFile.isFile()) {
                throw new FileAccessException("ECL0111", new Object[] { file.getAbsolutePath() });
            }
            load();
        }
    
        /**
         * Reloads the properties from the specified path.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            if (path == null) {
                logger.warn("OSDD file path could not be resolved: {}", osddPath);
                return null;
            }
            final File osddFile = new File(path);
            if (!osddFile.isFile()) {
                logger.warn("OSDD path is not a file: {}", path);
                return null;
            }
            return osddFile;
        }
    
        /**
         * Checks if OSDD link is enabled.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

            super.processWebInfLib();
    
            final WebResource[] possibleJars = listResources("/WEB-INF/plugin", false);
    
            for (final WebResource possibleJar : possibleJars) {
                if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) {
                    try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) {
                        final Manifest manifest = jarFile.getManifest();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            SmbFile initialFile = new SmbFile(baseUrl + "shared/initial.txt", context);
            assertTrue(initialFile.exists(), "Initial file should exist");
            assertTrue(initialFile.isFile(), "Initial file should be a file");
            assertTrue(initialFile.canRead(), "Should be able to read initial file");
    
            log.info("Basic connectivity test passed - can connect, list, and read files");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbTree.tree_num = 1;
    
            // Mock the SmbFile
            smbFile = mock(SmbFile.class);
            smbFile.tree = smbTree;
            smbFile.fid = 1;
            smbFile.tree_num = 1;
    
            when(smbFile.isFile()).thenReturn(true);
            when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt");
            when(smbFile.isOpen()).thenReturn(true);
    
            // Mock the open method to do nothing
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                        if (outputFile.isFile() && !outputFile.delete()) {
                            logger.warn("Failed to delete output file: {}", outputFile.getAbsolutePath());
                        }
                        return false;
                    }
    
                    if (outputFile.isFile() && outputFile.length() == 0) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                final File noImageFile = new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX);
                if (!noImageFile.isFile() || systemHelper.getCurrentTimeAsLong() - noImageFile.lastModified() > noImageExpired) {
                    if (noImageFile.isFile() && !noImageFile.delete()) {
                        logger.warn("Failed to delete no-image file: {}", noImageFile.getAbsolutePath());
                    }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top