Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2211 - 2220 of 5,169 for String (0.06 sec)

  1. src/main/java/org/codelibs/core/net/MimeTypeUtil.java

         * @param path
         *            The path. Must not be {@literal null} or an empty string.
         * @return The content type.
         */
        public static String guessContentType(final String path) {
            assertArgumentNotEmpty("path", path);
    
            final InputStream is = ResourceUtil.getResourceAsStream(path);
            try {
                final String mimetype = URLConnection.guessContentTypeFromStream(is);
                if (mimetype != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

         * @param path The path to the source document.
         * @param docMap The document map containing metadata.
         * @return A tuple containing task information.
         */
        Tuple3<String, String, String> createTask(String path, Map<String, Object> docMap);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

            } else if (o instanceof String) {
                final String s = (String) o;
                if (StringUtil.isEmpty(s)) {
                    return null;
                }
                return normalize(new BigDecimal(s));
            } else {
                return normalize(new BigDecimal(o.toString()));
            }
        }
    
        /**
         * Converts a {@link BigDecimal} to a string.
         *
         * @param dec
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. logger/sql_test.go

    	return json.Marshal(s)
    }
    
    func format(v []byte, escaper string) string {
    	return escaper + strings.ReplaceAll(string(v), escaper, escaper+escaper) + escaper
    }
    
    func TestExplainSQL(t *testing.T) {
    	type role string
    	type password []byte
    	type intType int
    	type floatType float64
    	var (
    		tt                 = now.MustParse("2020-02-23 11:10:10")
    		myrole             = role("admin")
    		pwd                = password("pass")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String field = getSearchField(context.getDefaultField(), wildcardQuery.getField());
            if (Constants.DEFAULT_FIELD.equals(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
                final String highlightText = StringUtils.strip(text, "*");
                if (StringUtil.isNotBlank(highlightText)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

         */
        private void updateFileIfChanged() throws IOException {
            String path = "META-INF/maven/org.apache.maven.api.di.Inject";
            Set<String> existingClasses = new TreeSet<>(); // Using TreeSet for natural ordering
            String existingContent = "";
    
            // Try to read existing content
            try {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

         */
        public OptionalEntity<KuromojiItem> getKuromojiItem(final String dictId, final long id) {
            return getKuromojiFile(dictId).map(file -> file.get(id).get());
        }
    
        /**
         * Store a Kuromoji item.
         *
         * @param dictId The dictionary ID.
         * @param kuromojiItem The Kuromoji item to store.
         */
        public void store(final String dictId, final KuromojiItem kuromojiItem) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

        // ---------------------------------------------------------------------
        @Override
        public String toString() {
            return "[" + (md == null ? "no metadata" : md.toString()) + "]";
        }
    
        // ---------------------------------------------------------------------
        private static int compareStrings(String s1, String s2) {
            if (s1 == null && s2 == null) {
                return 0;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/TextTransformerTest.java

            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();
            final ResponseData responseData = new ResponseData();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsElevateWordToLabelCA.java

            }
        }
    
        public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricAggregationBuilder> opLambda) {
            ScriptedMetricAggregationBuilder builder = regScriptedMetricA(name);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void topHits(String name, ConditionOptionCall<TopHitsAggregationBuilder> opLambda) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top