Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for getResourceAsFile (0.1 seconds)

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

         *            The resource path. Must not be {@literal null} or empty string.
         * @return The file.
         * @see #getResourceAsFile(String, String)
         */
        public static File getResourceAsFile(final String path) {
            assertArgumentNotEmpty("path", path);
    
            return getResourceAsFile(path, null);
        }
    
        /**
         * Returns the resource as a file.
         *
         * @param path
    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. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            } finally {
                server.stop();
            }
        }
    
        @Test
        public void test_execute_file_maxCount() throws Exception {
            final File targetFile = ResourceUtil.getResourceAsFile("test");
            String path = targetFile.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            final String url = "file:" + path;
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  3. apache-maven/src/main/appended-resources/META-INF/LICENSE.vm

    #*    *##end
    #*    *###
    #*    *### copy license file to lib/$artifactId.license
    #*    *##set ( $licFile = $directory + '/' + $project.artifact.artifactId + '.license' )
    #*    *##set ( $downloaded = $locator.getResourceAsFile( "licenses/${spdx}.txt", "licenses/${licFile}" ) )
    
    #*    *### add dependency info to output
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            final Path confPath = getConfPath(names);
            if (Files.exists(confPath)) {
                return confPath;
            }
            return org.codelibs.core.io.ResourceUtil.getResourceAsFile(String.join("/", names)).toPath();
        }
    
        /**
         * Gets the path to compiled classes directory.
         *
         * @param names the path components to append to the classes directory
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            final String aliasConfigDirPath = getResourcePath(indexConfigPath, fessConfig.getFesenType(), "/" + configIndex + "/alias");
            try {
                final File aliasConfigDir = ResourceUtil.getResourceAsFile(aliasConfigDirPath);
                if (aliasConfigDir.isDirectory()) {
                    final IndicesAliasesRequestBuilder builder = client.admin().indices().prepareAliases();
    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)
Back to Top