- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for path_mapping (0.16 sec)
-
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/PathMappingDbm.java
setupEpg(_epgMap, et -> ((PathMapping) et).getRegex(), (et, vl) -> ((PathMapping) et).setRegex(DfTypeUtil.toString(vl)), "regex"); setupEpg(_epgMap, et -> ((PathMapping) et).getReplacement(), (et, vl) -> ((PathMapping) et).setReplacement(DfTypeUtil.toString(vl)), "replacement"); setupEpg(_epgMap, et -> ((PathMapping) et).getSortOrder(), (et, vl) -> ((PathMapping) et).setSortOrder(DfTypeUtil.toInteger(vl)),
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
final List<PathMapping> pathMappingList = new ArrayList<PathMapping>(); final PathMapping pathMapping1 = new PathMapping(); pathMapping1.setRegex("file:///home/"); pathMapping1.setReplacement("http://localhost/"); pathMappingList.add(pathMapping1); final PathMapping pathMapping2 = new PathMapping(); pathMapping2.setRegex("http://localhost/");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/PathMappingService.java
*/ public OptionalEntity<PathMapping> getPathMapping(final String id) { return pathMappingBhv.selectByPK(id); } /** * Stores a path mapping. * * @param pathMapping the path mapping to store */ public void store(final PathMapping pathMapping) { pathMappingBhv.insertOrUpdate(pathMapping, op -> { op.setRefreshPolicy(Constants.TRUE);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PathMappingHelper.java
String result = text; for (final PathMapping pathMapping : cachedPathMappingList) { if (matchUserAgent(pathMapping)) { String replacement = pathMapping.getReplacement(); if (replacement == null) { replacement = StringUtil.EMPTY; } result = result.replaceAll("(\"[^\"]*)" + pathMapping.getRegex() + "([^\"]*\")", "$1" + replacement + "$2");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java
import org.codelibs.fess.app.web.CrudMode; import org.codelibs.fess.app.web.api.ApiResult; import org.codelibs.fess.app.web.api.admin.FessApiAdminAction; import org.codelibs.fess.opensearch.config.exentity.PathMapping; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import jakarta.annotation.Resource; /** * API action for admin path mapping management.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
} return OptionalEntity.empty(); } /** * Creates a PathMapping entity from the provided form data. * * @param form the create form containing path mapping data * @return optional PathMapping entity populated with form data */ public static OptionalEntity<PathMapping> getPathMapping(final CreateForm form) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
assertUrlLink("smb:/home/taro/%E3%81%82.txt", // "file://home/taro/%E3%81%82.txt"); PathMapping pathMapping = new PathMapping(); pathMapping.setRegex("ftp:"); pathMapping.setReplacement("file:"); ComponentUtil.getPathMappingHelper().cachedPathMappingList.add(pathMapping); // ftp->file assertUrlLink("ftp:/home/taro/test.txt", // "file://home/taro/test.txt");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 27.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
}; crawler.dataIndexHelper = dataIndexHelper; pathMappingService = new PathMappingService() { @Override public List<org.codelibs.fess.opensearch.config.exentity.PathMapping> getPathMappingList(java.util.Collection<String> ptList) { return new ArrayList<>(); } }; crawler.pathMappingService = pathMappingService;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
parseProjectProperties(ResourceUtil.getProjectPropertiesFile()); updateConfigListenerMap.put("Label", () -> Integer.toString(ComponentUtil.getLabelTypeHelper().load())); updateConfigListenerMap.put("PathMapping", () -> Integer.toString(ComponentUtil.getPathMappingHelper().load())); updateConfigListenerMap.put("RelatedContent", () -> Integer.toString(ComponentUtil.getRelatedContentHelper().load()));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0)