Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for AccessResultData (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

            }
        }
    
        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)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java

         * .AccessResultData)
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            // check transformer name
            if (!getName().equals(accessResultData.getTransformerName())) {
                throw new CrawlerSystemException(
                        "Transformer is invalid. Use " + accessResultData.getTransformerName() + ". This transformer is " + getName() + ".");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

         *
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            // check transformer name
            if (!getName().equals(accessResultData.getTransformerName())) {
                throw new CrawlerSystemException(
                        "Transformer is invalid. Use " + accessResultData.getTransformerName() + ". This transformer is " + getName() + ".");
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                final AccessResultData<?> accessResultData = getAccessResultData(accessResult);
                if (accessResultData != null) {
                    accessResult.setAccessResultData(null);
                    try {
                        final Transformer transformer = ComponentUtil.getComponent(accessResultData.getTransformerName());
                        if (transformer == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

        void setCreateTime(Long createTime);
    
        Integer getExecutionTime();
    
        void setExecutionTime(Integer executionTime);
    
        AccessResultData<IDTYPE> getAccessResultData();
    
        void setAccessResultData(AccessResultData<IDTYPE> accessResultData);
    
        Long getContentLength();
    
        void setContentLength(Long contentLength);
    
        Long getLastModified();
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            if (dataClass == null) {
                // check transformer name
                if (!getName().equals(accessResultData.getTransformerName())) {
                    throw new CrawlerSystemException("Transformer is invalid. Use " + accessResultData.getTransformerName()
                            + ". This transformer is " + getName() + ".");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

         *
         * @return XML content of String.
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            if (dataClass == null) {
                return super.getData(accessResultData);
            }
    
            final Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData);
            if (Map.class.equals(dataClass)) {
                return dataMap;
            }
    
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         *
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            // check transformer name
            if (!getName().equals(accessResultData.getTransformerName())) {
                throw new CrawlerSystemException(
                        "Transformer is invalid. Use " + accessResultData.getTransformerName() + ". This transformer is " + getName() + ".");
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/resources/mapping/data.json

          },
          "url": {
            "type": "keyword"
          },
          "executionTime": {
            "type": "long"
          },
          "createTime": {
            "type": "long"
          },
          "accessResultData": {
            "properties": {
              "transformerName": {
                "type": "keyword"
              },
              "encoding": {
                "type": "keyword"
              },
              "data": {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 963 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            }
    
            return getSite(url, encoding);
        }
    
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            final byte[] data = accessResultData.getData();
            if (data != null) {
                try {
                    return SerializeUtil.fromBinaryToObject(data);
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top