Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for fileExists (0.06 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

                return false;
            }
    
            File f = new File(path);
    
            if (!f.isAbsolute()) {
                return false;
            }
    
            boolean fileExists = f.exists();
    
            return missing ? !fileExists : fileExists;
        }
    
        @Override
        public boolean presentInConfig(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. src/main/webapp/WEB-INF/fe.tld

        </example>
      </function>
    
      <function>
        <description>
          Check if a file exists.
        </description>
        <name>fileExists</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>boolean fileExists(java.lang.String)</function-signature>
        <example>
          ${fe:fileExists(path)}
        </example>
      </function>
    
      <function>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 18 11:38:54 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param path the file path relative to the servlet context
         * @return true if the file exists, false otherwise
         */
        public static boolean fileExists(final String path) {
            final File file = new File(LaServletContextUtil.getServletContext().getRealPath(path));
            return file.exists();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  4. RELEASE.md

    *   `BusAdjacency` enum replaced with a protocol buffer `DeviceLocality`. PCI
        bus indexing now starts from 1 instead of 0, and `bus_id==0` is used where
        previously `BUS_ANY` was used.
    *   `Env::FileExists` and `FileSystem::FileExists` now return a
        tensorflow::Status instead of a bool. Any callers to this function can be
        converted to a bool by adding .ok() to the call.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  5. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        void testMessageFormatting() {
            // With custom message
            exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_EXISTS, "document.pdf already exists");
            assertTrue(exception.getMessage().contains("FILE_EXISTS"));
            assertTrue(exception.getMessage().contains("File already exists"));
            assertTrue(exception.getMessage().contains("document.pdf already exists"));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbOperationException.java

            // File system errors
            FILE_NOT_FOUND("File not found", ErrorCategory.FILE_SYSTEM, false), PATH_NOT_FOUND("Path not found", ErrorCategory.FILE_SYSTEM,
                    false), FILE_EXISTS("File already exists", ErrorCategory.FILE_SYSTEM, false), DIRECTORY_NOT_EMPTY("Directory not empty",
                            ErrorCategory.FILE_SYSTEM, false), DISK_FULL("Disk full", ErrorCategory.RESOURCE,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.5K bytes
    - Click Count (0)
Back to Top