Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for get_a_a (0.11 sec)

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

            responseData.setResponseBody(data);
            responseData.setMimeType("text/plain");
            final ResultData resultData = textTransformer.transform(responseData);
            assertEquals("xyz", new String(resultData.getData(), resultData.getEncoding()));
        }
    
        public void test_transform_html() throws Exception {
            final byte[] data = new String("<html><body>xyz</body></html>").getBytes();
    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

            }
    
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.transformer.Transformer#getData(org.codelibs.fess.crawler.entity
         * .AccessResultData)
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            // check transformer name
            if (!getName().equals(accessResultData.getTransformerName())) {
    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/TextTransformer.java

            return resultData;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.transformer.Transformer#getData(org.codelibs.fess.crawler.entity
         * .AccessResultData)
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            // check transformer name
            if (!getName().equals(accessResultData.getTransformerName())) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

            responseData.setResponseBody(data);
            final ResultData resultData = binaryTransformer.transform(responseData);
            assertEquals("xyz", new String(resultData.getData()));
        }
    
        public void test_transform_null() {
            try {
                binaryTransformer.transform(null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            responseData.setResponseBody(data);
            responseData.setCharSet("ISO-8859-1");
            final ResultData resultData = htmlTransformer.transform(responseData);
            assertEquals("xyz", new String(resultData.getData()));
        }
    
        public void test_transform_filelink() {
            String content = "<a href=\"test2.html\">test</a>";
            final byte[] data = new String(content).getBytes();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            responseData.setCharSet(Constants.UTF_8);
            final ResultData resultData = new ResultData();
            xpathTransformer.storeData(responseData, resultData);
            assertEquals(result, new String(resultData.getData(), Constants.UTF_8));
        }
    
        public void test_getData() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            if (out.isInMemory()) {
                return new ByteArrayInputStream(out.getData());
            }
            return new FileInputStream(out.getFile());
        }
    
        protected long getContentLength(final DeferredFileOutputStream out) throws IOException {
            if (out.isInMemory()) {
                return out.getData().length;
            }
            return out.getFile().length();
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final MethodDesc methodDesc = beanDesc.getMethodDesc("getAaa");
            assertThat(methodDesc, is(notNullValue()));
            assertThat(methodDesc.getMethodName(), is("getAaa"));
            beanDesc.getMethodDesc("getaaa");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMethodNoException() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            responseData.setCharSet(Constants.UTF_8);
            final ResultData resultData = xmlTransformer.transform(responseData);
            assertEquals(result, new String(resultData.getData(), Constants.UTF_8));
        }
    
        public void test_transformNs() throws Exception {
            final String result = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            final ResultData resultData = fileTransformer.transform(responseData);
            assertEquals("http_CLN_/www.example.com/submit_QUEST_a=1_AMP_b=2", new String(resultData.getData(), "UTF-8"));
            final File file = new File(fileTransformer.baseDir, new String(resultData.getData(), "UTF-8"));
            assertEquals("xyz", new String(FileUtil.readBytes(file)));
        }
    
        public void test_createFile() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top