Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for IsExist (1.56 seconds)

  1. src/main/java/org/codelibs/core/io/ResourceUtil.java

         *            The resource path. Must not be {@literal null} or empty string.
         * @return {@literal true} if the resource exists
         * @see #getResourceNoException(String)
         */
        public static boolean isExist(final String path) {
            assertArgumentNotEmpty("path", path);
    
            return getResourceNoException(path) != null;
        }
    
        /**
         * Loads and returns a properties file from the context class loader.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        public void testIsExist() throws Exception {
            assertEquals("1", true, ResourceUtil.isExist("CLMessages.properties"));
            assertEquals("2", false, ResourceUtil.isExist("hoge"));
        }
    
        /**
         * @throws Exception
         */
        public void testGetExtension() throws Exception {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java

            for (final String[] call : testClient.addMappingCalls) {
                assertNotNull(call);
            }
            // The loadBulkData=true path triggers getResourcePath + ResourceUtil.isExist checks.
            // In test environment resource files don't exist, so insertBulkData won't be called,
            // but the overall flow should still succeed.
            assertTrue(testClient.calledMethods.contains("addMapping"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                        final String dataPath =
                                getResourcePath(indexConfigPath, fessConfig.getFesenType(), "/" + configIndex + "/" + configType + ".bulk");
                        if (ResourceUtil.isExist(dataPath)) {
                            insertBulkData(fessConfig, indexName, dataPath, true);
                        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  5. CODE_OF_CONDUCT.md

    
    ## Conflict Resolution
    
    Conflicts in an open source project can take many forms, from someone having a bad day and using harsh and hurtful language in the issue queue, to more serious instances such as sexist/racist statements or threats of violence, and everything in between.
    
    If the behavior is threatening or harassing, or for other reasons requires immediate escalation, please see below.
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Click Count (0)
  6. api/go1.txt

    pkg os, func Getpagesize() int
    pkg os, func Getpid() int
    pkg os, func Getppid() int
    pkg os, func Getuid() int
    pkg os, func Getwd() (string, error)
    pkg os, func Hostname() (string, error)
    pkg os, func IsExist(error) bool
    pkg os, func IsNotExist(error) bool
    pkg os, func IsPathSeparator(uint8) bool
    pkg os, func IsPermission(error) bool
    pkg os, func Lchown(string, int, int) error
    pkg os, func Link(string, string) error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top