Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 33 for BasePath (0.07 seconds)

  1. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

        }
    
        @Test
        public void test_getVirtualHostBasePath() {
            String basePath = virtualHostHelper.getVirtualHostBasePath("site1", new HtmlNext("/test"));
            assertEquals("/site1", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath("", new HtmlNext("/test"));
            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath(null, new HtmlNext("/test"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/Builders.kt

    import java.io.Serializable
    
    class ProjectScope(
        private val basePath: String,
        private val settings: Settings,
    ) {
        private val structure = settings.extensions.getByType(ProjectStructure::class.java)
    
        fun subproject(projectName: String) {
            settings.include(projectName)
            val projectDir = settings.rootDir.resolve("$basePath/$projectName")
            structure.projectBaseDirs.add(projectDir)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        }
      }
    
      private MockResponse directoryToResponse(String basePath, File directory) {
        if (!basePath.endsWith("/")) basePath += "/";
    
        StringBuilder response = new StringBuilder();
        response.append(String.format("<html><head><title>%s</title></head><body>", basePath));
        response.append(String.format("<h1>%s</h1>", basePath));
        for (String file : directory.list()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  4. src/main/resources/log4j2.xml

    				<TimeBasedTriggeringPolicy />
    				<SizeBasedTriggeringPolicy size="100 MB" />
    			</Policies>
    			<DefaultRolloverStrategy fileIndex="max" min="1"
    				max="${backup.max.history}" compressionLevel="9">
    				<Delete basePath="${log.file.basedir}">
    					<IfFileName glob="${domain.name}*.log.gz" />
    					<IfLastModified age="P${backup.max.age}D" />
    				</Delete>
    			</DefaultRolloverStrategy>
    		</RollingFile>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/job/IndexExportJob.java

            }
            final String content = formatter.format(source, excludeFields);
    
            try {
                final Path basePath = Paths.get(exportPath);
                Files.createDirectories(basePath);
                final Path realBase = basePath.toRealPath();
                Files.createDirectories(filePath.getParent());
                final Path realParent = filePath.getParent().toRealPath();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

        }
    
        // Test implementation classes
    
        private static class TestWebApiManager implements WebApiManager {
            private final String basePath;
            private boolean processCalled = false;
    
            public TestWebApiManager(String basePath) {
                this.basePath = basePath;
            }
    
            @Override
            public boolean matches(HttpServletRequest request) {
                if (request == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/ExecJob.java

         * @param buf the StringBuilder to append to
         * @param libDir the directory containing JAR files
         * @param basePath the base path to prepend to JAR file names
         */
        protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) {
            final File[] jarFiles = libDir.listFiles((FilenameFilter) (dir, name) -> name.toLowerCase().endsWith(".jar"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                final List<String> allowedPaths = new ArrayList<>();
                for (final String prop : allowedPathProperties) {
                    final String basePath = System.getProperty(prop);
                    if (basePath != null) {
                        final String baseCanonicalPath = new File(basePath).getCanonicalPath();
                        allowedPaths.add(baseCanonicalPath);
                        if (canonicalPath.startsWith(baseCanonicalPath)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

         */
        public HtmlNext getVirtualHostPath(final HtmlNext page) {
            return processVirtualHost(s -> {
                final String basePath = getVirtualHostBasePath(s, page);
                return new HtmlNext(basePath + page.getRoutingPath());
            }, page);
        }
    
        /**
         * Gets the base path for virtual host based on the virtual host key and page.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            // Test build source functionality
            Path basePath = Paths.get("/tmp");
            ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class);
            Path resolvedPath = Paths.get("/tmp/subproject/pom.xml");
            when(locator.locateExistingPom(any(Path.class))).thenReturn(resolvedPath);
    
            Sources.BuildPathSource source = (Sources.BuildPathSource) Sources.buildSource(basePath);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top