Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for setTypes (0.04 sec)

  1. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

                final ResourceBundle resources = ResourceBundle.getBundle("fess_label", Locale.ENGLISH);
                final String[] fileTypes = ComponentUtil.getFileTypeHelper().getTypes();
                for (final String fileType : fileTypes) {
                    final String value = filetypeField + ":" + fileType;
                    if (!values.contains(value)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = new LinkedHashSet<>();
        Set<Class<? super T>> allInterfaceClasses = interfaceType.getTypes().interfaces().rawTypes();
        for (Class<? super T> itf : allInterfaceClasses) {
          Iterator<Class<?>> iterator = interfaceClasses.iterator();
          boolean addToSet = true;
          while (iterator.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                        .setIgnoreIdleThreads(ignoreIdleThreads)
                        .setInterval(interval)
                        .setThreads(threads)
                        .setTimeout(timeout)
                        .setType(type)
                        .execute()
                        .actionGet(timeout);
                append(buf, "cluster_name", () -> response.getClusterName().value()).append(',');
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

        }
    
        /**
         * Gets all distinct file types currently configured in the mappings.
         *
         * @return an array of all unique file type values
         */
        public String[] getTypes() {
            return mimetypeMap.values().stream().distinct().toArray(n -> new String[n]);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
              FluentIterable.from(TypeToken.of(clazz).getTypes())
                  .transform(TypeToken::getRawType)
                  .transformAndConcat(c -> asList(c.getDeclaredMethods()))
                  .firstMatch(
                      m ->
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java

      public void run() throws Exception {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        RequestBody requestBody = new MultipartBody.Builder()
            .setType(MultipartBody.FORM)
            .addFormDataPart("title", "Square Logo")
            .addFormDataPart("image", "logo-square.png",
                RequestBody.create(
                    new File("docs/images/logo-square.png"),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 24 12:59:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

                    .lookupPrincipalByName(getUsername());
            ImmutableList<AclEntry> acl =
                ImmutableList.of(
                    AclEntry.newBuilder()
                        .setType(ALLOW)
                        .setPrincipal(user)
                        .setPermissions(EnumSet.allOf(AclEntryPermission.class))
                        .setFlags(DIRECTORY_INHERIT, FILE_INHERIT)
                        .build());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

          /**
           * Set the MIME type. Expected values for `type` are [MIXED] (the default), [ALTERNATIVE],
           * [DIGEST], [PARALLEL] and [FORM].
           */
          fun setType(type: MediaType) =
            apply {
              require(type.type == "multipart") { "multipart != $type" }
              this.type = type
            }
    
          /** Add a part to the body. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. docs/recipes.md

          private val client = OkHttpClient()
    
          fun run() {
            // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
            val requestBody = MultipartBody.Builder()
                .setType(MultipartBody.FORM)
                .addFormDataPart("title", "Square Logo")
                .addFormDataPart("image", "logo-square.png",
                    File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

        }
      }
    
      /** Confirm that [MultipartBody] and [MultipartReader] can work together. */
      @Test fun `multipart round trip`() {
        val body =
          MultipartBody
            .Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
            .addFormDataPart("color", "Brown")
            .addFormDataPart("animal", "fox.txt", "Fox".toRequestBody())
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top