- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for ResourceHandler (0.19 sec)
-
src/main/java/org/codelibs/core/io/ResourceHandler.java
*/ package org.codelibs.core.io; import java.io.InputStream; /** * リソースを処理するハンドラのインターフェースです。 * * @author taedium */ public interface ResourceHandler { /** * リソースを処理します。 * * @param path * パス * @param is * リソースを読み込むための{@link InputStream} */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
final int pos = path.lastIndexOf("/"); final String baseDirectory = path.substring(0, pos); ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> { try { if (count < 10) { System.out.println(path1); } assertThat(path1, is(notNullValue()));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
} public CrawlerWebServer(final int port, final File docRoot) { this.port = port; this.docRoot = docRoot; server = new Server(port); final ResourceHandler resource_handler = new ResourceHandler(); resource_handler.setWelcomeFiles(new String[] { "index.html" }); resource_handler.setResourceBase(docRoot.getAbsolutePath());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
tempDocRoot = true; } public CrawlerWebServer(final int port, final File docRoot) { this.docRoot = docRoot; server = new Server(port); final ResourceHandler resource_handler = new ResourceHandler(); resource_handler.setWelcomeFiles(new String[] { "index.html" }); resource_handler.setResourceBase(docRoot.getAbsolutePath());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
} public CrawlerWebServer(final int port, final File docRoot) { this.port = port; this.docRoot = docRoot; server = new Server(port); final ResourceHandler resource_handler = new ResourceHandler(); resource_handler.setWelcomeFiles(new String[] { "index.html" }); resource_handler.setResourceBase(docRoot.getAbsolutePath());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
assertThat(traverser, is(notNullValue())); assertThat(traverser instanceof FileSystemTraverser, is(true)); final List<String> list = new ArrayList<String>(); traverser.forEach((ResourceHandler) (path, is) -> list.add(path)); assertThat(list.size(), is(1)); assertThat(list.get(0).endsWith("DummyTest.class"), is(true)); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
/** * このインスタンスが扱うリソースを探して * {@link ResourceHandler#processResource(String, java.io.InputStream) ハンドラ} * をコールバックします。 * <p> * インスタンス構築時にルートディレクトリが指定されている場合は、 ルートディレクトリ以下のリソースのみが対象となります。 * </p> * * @param handler * リソースを処理するハンドラ */ void forEach(ResourceHandler handler); /** * リソースの後処理を行います。 */ void close();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.6K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig_test.go
tt.args.stackTraceLevel, tt.args.outputFormat); !reflect.DeepEqual(got, tt.want) { t.Errorf("chooseClientFlag() = %v, want %v", got, tt.want) } }) } } func resourceHandler(writer http.ResponseWriter, request *http.Request) { const getResponse = `{"name":"resource","description":"Core resource model scope","output_level":"info","stack_trace_level":"none","log_callers":false}`
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 6.2K bytes - Viewed (0)