- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getMimeType (0.06 sec)
-
FessStandardTransformer.java
ComponentUtil.getExtractorFactory(); L53: if (extractorFactory == null) { L54: throw new FessSystemException("Could not find extractorFactory."); L55: } L56: Extractor extractor = extractorFactory.getExtractor(responseData.getMimeType()); L57: if (extractor == null) { L58: extractor = ComponentUtil.getComponent("tikaExtractor"); L59: if (extractor == null) { L60: throw new FessSystemException("Could not find tikaExtractor."); L61: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 2.4K bytes -
FessFileTransformer.java
ComponentUtil.getExtractorFactory(); L53: if (extractorFactory == null) { L54: throw new FessSystemException("Could not find extractorFactory."); L55: } L56: final Extractor extractor = extractorFactory.getExtractor(responseData.getMimeType()); L57: if (logger.isDebugEnabled()) { L58: logger.debug("url={}, extractor={}", responseData.getUrl(), extractor); L59: } L60: return extractor; L61: } L62:}...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 2.2K bytes -
HtmlTagBasedGenerator.java
} L123: } L124: return outputFile.exists(); L125: }); L126: L127: } L128: L129: protected boolean isImageMimeType(final ResponseData responseData) { L130: final String mimeType = responseData.getMimeType(); L131: if (mimeType == null) { L132: return true; L133: } L134: L135: return switch (mimeType) { L136: case "image/png", "image/gif", "image/jpeg", "image/bmp" -> true; L137: default -> false; L138:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 7.5K bytes -
AbstractFessFileTransformer.java
ComponentUtil.getCrawlingConfigHelper(); L93: final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(responseData.getSessionId()); L94: final Extractor extractor = getExtractor(responseData); L95: final String mimeType = responseData.getMimeType(); L96: final StringBuilder contentMetaBuf = new StringBuilder(1000); L97: final Map<String, Object> dataMap = new HashMap<>(); L98: final Map<String, Object> metaDataMap = new HashMap<>(); L99: String content; L100:...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 23.6K bytes -
ViewHelper.java
+ 1), charset); L738: } else { L739: name = URLDecoder.decode(url, charset); L740: } L741: L742: final String contentDispositionType; L743: if (inlineMimeTypeSet.contains(responseData.getMimeType())) { L744: contentDispositionType = "inline"; L745: } else { L746: contentDispositionType = "attachment"; L747: } L748: L749: final String encodedName = URLEncoder.encode(name, Con...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 40.2K bytes -
FessXpathTransformer.java
L367: String url = responseData.getUrl(); L368: final String indexingTarget = crawlingConfig.getIndexingTarget(url); L369: url = pathMappingHelper.replaceUrl(sessionId, url); L370: final String mimeType = responseData.getMimeType(); L371: L372: final FieldConfigs fieldConfigs = new FieldConfigs(crawlingConfig.getConfigParameterMap(ConfigName.FIELD)); L373: final Map<String, String> xpathConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.XPATH); L374:...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 13:01:38 UTC 2024 42.9K bytes