Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 325 for substring (0.07 sec)

  1. guava/src/com/google/common/io/Files.java

        // put it back together
        String result = Joiner.on('/').join(path);
        if (pathname.charAt(0) == '/') {
          result = "/" + result;
        }
    
        while (result.startsWith("/../")) {
          result = result.substring(3);
        }
        if (result.equals("/..")) {
          result = "/";
        } else if ("".equals(result)) {
          result = ".";
        }
    
        return result;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

          String suffix = ".negate()";
          final String description = toString();
          String negatedDescription =
              description.endsWith(suffix)
                  ? description.substring(0, description.length() - suffix.length())
                  : description + suffix;
          return new NegatedFastMatcher(
              precomputedPositive(negatedCharacters, table, negatedDescription)) {
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/ClassUtil.java

            final String[] ret = new String[2];
            final int i = className.lastIndexOf('.');
            if (i > 0) {
                ret[0] = className.substring(0, i);
                ret[1] = className.substring(i + 1);
            } else {
                ret[1] = className;
            }
            return ret;
        }
    
        /**
         * 配列の場合は要素のクラス名に{@literal []}を加えた文字列、それ以外はクラス名そのものを返します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    final String key = entry.getKey();
                    if (key.startsWith("fields.")) {
                        final String[] value = simplifyArray(entry.getValue());
                        fields.put(key.substring("fields.".length()), value);
                    }
                }
                return fields;
            }
    
            @Override
            public Map<String, String[]> getConditions() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/jar/JarFileUtil.java

            final URL nestedUrl = URLUtil.create(jarUrl.getPath());
            final String nestedUrlPath = nestedUrl.getPath();
            final int pos = nestedUrlPath.lastIndexOf('!');
            final String jarFilePath = nestedUrlPath.substring(0, pos);
            final File jarFile = new File(URLUtil.decode(jarFilePath, "UTF8"));
            return FileUtil.getCanonicalPath(jarFile);
        }
    
        /**
         * Jarファイルをクローズします。
         * <p>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/zip/ZipFileUtil.java

            assertArgumentNotNull("zipUrl", zipUrl);
    
            final String urlString = zipUrl.getPath();
            final int pos = urlString.lastIndexOf('!');
            final String zipFilePath = urlString.substring(0, pos);
            final File zipFile = new File(URLUtil.decode(zipFilePath, "UTF8"));
            return FileUtil.getCanonicalPath(zipFile);
        }
    
        /**
         * Zipファイルをクローズします。
         * <p>
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
        private static Predicate<Artifact> artifactPredicate(Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/file.js

    )},g.onerror=function(){e()},g.src=c.target.result}};a.formUtils.addValidator({name:"mime",validatorFunction:function(b,f,g,h){if(c){var i=!0,j=f.get(0).files||[],k="",l=d(f);return j.length&&(a.each(j,function(b,c){return i=!1,k=c.type||c.name.substring(c.name.lastIndexOf(".")+1),a.each(l,function(a,b){if(i=k.indexOf(b)>-1)return!1}),i}),i||(a.formUtils.warn("Trying to upload a file with mime type "+k+" which is not allowed"),e(this,"wrongFileType",l.join(", "),h))),i}return a.formUtils.warn("FileReader...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

            if (StringUtil.isBlank(item)) {
                return StringUtil.EMPTY;
            }
            if (item.length() > 1 && item.charAt(0) == '"' && item.charAt(item.length() - 1) == '"') {
                item = item.substring(1, item.length() - 1);
            }
            return item;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSetMultimap.java

       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     Stream.of("banana", "apple", "carrot", "asparagus", "cherry")
       *         .collect(toImmutableSetMultimap(str -> str.charAt(0), str -> str.substring(1)));
       *
       * // is equivalent to
       *
       * static final Multimap<Character, String> FIRST_LETTER_MULTIMAP =
       *     new ImmutableSetMultimap.Builder<Character, String>()
       *         .put('b', "anana")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
Back to top