- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for AccessResultData (0.19 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultData.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.entity; /** * @author shinsuke * */ public interface AccessResultData<IDTYPE> { IDTYPE getId(); void setId(IDTYPE id); String getTransformerName(); void setTransformerName(String transformerName); byte[] getData();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java
protected AccessResultData<IDTYPE> accessResultData; @Override public void init(final ResponseData responseData, final ResultData resultData) { setCreateTime(System.currentTimeMillis()); if (responseData != null) { BeanUtil.copyBeanToBean(responseData, this); } final AccessResultData<IDTYPE> accessResultData = new AccessResultDataImpl<>();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/DataServiceImpl.java
AccessResultData<Long> accessResultData = accessResult.getAccessResultData(); if (accessResultData == null) { accessResultData = new AccessResultDataImpl<>(); accessResultData.setTransformerName(Constants.NO_TRANSFORMER); accessResult.setAccessResultData(accessResultData); } accessResultData.setId(accessResult.getId());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java
* .AccessResultData) */ @Override public Object getData(final AccessResultData<?> accessResultData) { // check transformer name if (!getName().equals(accessResultData.getTransformerName())) { throw new CrawlerSystemException(
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 5.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java
/** * @author shinsuke * */ public class AccessResultDataImpl<IDTYPE> implements AccessResultData<IDTYPE> { protected IDTYPE id; protected String transformerName; protected byte[] data; protected String encoding; /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.entity.AccessResultData#getId() */ @Override public IDTYPE getId() { return id;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
if (accessResult != null) { final AccessResultData<?> accessResultData = accessResult.getAccessResultData(); if (accessResultData != null && accessResultData.getEncoding() != null) { enc = accessResultData.getEncoding(); parentEncodingMap.put(key, enc); return enc; } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/Transformer.java
import org.codelibs.fess.crawler.entity.AccessResultData; import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.entity.ResultData; /** * @author shinsuke * */ public interface Transformer { ResultData transform(ResponseData responseData); Object getData(AccessResultData<?> accessResultData); String getName();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java
} } public void test_getData() throws Exception { final AccessResultDataImpl accessResultData = new AccessResultDataImpl(); accessResultData.setTransformerName("binaryTransformer"); accessResultData.setData("xyz".getBytes()); final Object obj = binaryTransformer.getData(accessResultData); assertNotNull(obj); assertTrue(obj instanceof InputStream);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
} public static Map<String, Object> getDataMap(final AccessResultData<?> accessResultData) { // create input source final InputSource is = new InputSource(new ByteArrayInputStream(accessResultData.getData())); if (StringUtil.isNotBlank(accessResultData.getEncoding())) { is.setEncoding(accessResultData.getEncoding()); } // create handler
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java
setAccessResultData(accessResult.accessResultData); } else { setAccessResultData(null); } } return accessResultData; } @Override public void setAccessResultData(final AccessResultData<String> accessResultDataAsOne) { accessResultData = accessResultDataAsOne;
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 4.6K bytes - Viewed (0)