- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for setTransformerName (0.16 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java
// NOP } } 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);
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/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java
// NOP } } public void test_getData() throws Exception { final AccessResultDataImpl accessResultData = new AccessResultDataImpl(); accessResultData.setTransformerName("textTransformer"); accessResultData.setData("xyz".getBytes()); final Object obj = textTransformer.getData(accessResultData); assertNotNull(obj); assertTrue(obj instanceof String);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultDataImpl.java
return transformerName; } /* * (non-Javadoc) * * @see * org.codelibs.fess.crawler.entity.AccessResultData#setTransformerName(java.lang * .String) */ @Override public void setTransformerName(final String transformerName) { this.transformerName = transformerName; } /* * (non-Javadoc) *
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
accessResultDataImpl.setData("hoge.txt".getBytes()); accessResultDataImpl.setEncoding(Constants.UTF_8); accessResultDataImpl.setTransformerName("fileTransformer"); setBaseDir(); final Object obj = fileTransformer.getData(accessResultDataImpl); assertTrue(obj instanceof File);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultData.java
/** * @author shinsuke * */ public interface AccessResultData<IDTYPE> { IDTYPE getId(); void setId(IDTYPE id); String getTransformerName(); void setTransformerName(String transformerName); byte[] getData(); String getDataAsString(); void setData(byte[] data); String getEncoding(); void setEncoding(String encoding);
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/transformer/impl/TextTransformer.java
} catch (final Exception e) { throw new CrawlingAccessException("Could not extract data.", e); } final ResultData resultData = new ResultData(); resultData.setTransformerName(getName()); try { resultData.setData(content.getBytes(charsetName)); } catch (final UnsupportedEncodingException e) { if (logger.isInfoEnabled()) {
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/service/impl/DataServiceImpl.java
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-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java
public static final String ENCODING = "encoding"; public OpenSearchAccessResultData() { } public OpenSearchAccessResultData(final Map<String, Object> src) { setTransformerName((String) src.get(TRANSFORMER_NAME)); setEncoding((String) src.get(ENCODING)); final String dataStr = (String) src.get(DATA); if (dataStr != null) { try {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java
} public void removeUrl(final RequestData url) { childUrlSet.remove(url); } public String getTransformerName() { return transformerName; } public void setTransformerName(final String transformerName) { this.transformerName = transformerName; } public Set<RequestData> getChildUrlSet() { return childUrlSet; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java
final ResultData resultData = new ResultData(); resultData.setData(new byte[0]); resultData.setEncoding(Constants.UTF_8); resultData.setTransformerName(Constants.NO_TRANSFORMER); processResult(urlQueue, responseData, resultData); } else if (isSuccessful(responseData)) { if (transformer == null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 9K bytes - Viewed (0)