Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 437 for getRate (0.14 sec)

  1. 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)
  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())) {
                throw new CrawlerSystemException(
    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

        /*
         * (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())) {
                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)
  4. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testReadUTF8() throws Exception {
            assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ"));
        }
    
        private String getPath(final String fileName) {
            return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName);
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getName())) {
                throwValidationErrorApi(messages -> messages.addErrorsStorageFileNotFound(GLOBAL));
            }
            return asStream(pi.getName()).contentTypeOctetStream().stream(out -> {
                try {
                    downloadObject(getObjectName(pi.getPath(), pi.getName()), out);
                } catch (final StorageException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

            extractorFactory.addExtractor("text/html", tikaExtractor);
        }
    
        public void test_name() {
            assertEquals("textTransformer", textTransformer.getName());
        }
    
        public void test_transform_text() throws Exception {
            final byte[] data = new String("xyz").getBytes();
            final ResponseData responseData = new ResponseData();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                                        return properties;
                                    } else if ("getUserProperties".equals(method.getName())) {
                                        return Map.of();
                                    } else if ("getService".equals(method.getName())) {
                                        if (args[0] == ToolchainsXmlFactory.class) {
                                            return toolchainsXmlFactory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/HeadersJvmTest.kt

      }
    
      @Test fun setDate() {
        val expected = Date(1000)
        val headers =
          Headers.Builder()
            .add("testDate", Date(0L))
            .set("testDate", expected)
            .build()
        assertThat(headers["testDate"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT")
        assertThat(headers.getDate("testDate")).isEqualTo(expected)
      }
    
      @Test fun setInstant() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread3, 1);
        assertThat(thread2.getName().substring(0, thread.getName().lastIndexOf('-')))
            .isNotEqualTo(thread3.getName().substring(0, thread.getName().lastIndexOf('-')));
      }
    
      private static void checkThreadPoolName(Thread thread, int threadId) {
        assertThat(thread.getName()).matches("^pool-\\d+-thread-" + threadId + "$");
      }
    
      public void testNameFormatWithPercentS_custom() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

                    } else if (logger.isDebugEnabled()) {
                        logger.debug("use {} from {}, not {}", extractor.getClass().getName(), detectedMimeType, mimeType);
                    }
                } else if (logger.isDebugEnabled()) {
                    logger.debug("use {} from {}", extractor.getClass().getName(), mimeType);
                }
    
                if (maxContentLength < 0) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top