Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for filteringCharset (0.64 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy

            child.fileMode == 1
            child.dirMode == 2
            child.filteringCharset == "ISO_8859_1"
    
            where:
            method << ['from', 'into']
        }
    
        def 'setting the filteringCharset to invalid value throws an exception'() {
            when:
            spec.filteringCharset = "THAT_SURE_IS_AN_INVALID_CHARSET"
    
            then:
            thrown(InvalidUserDataException)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultCopySpec.java

        public void setFilteringCharset(String charset) {
            Preconditions.checkNotNull(charset, "filteringCharset must not be null");
            if (!Charset.isSupported(charset)) {
                throw new InvalidUserDataException(String.format("filteringCharset %s is not supported by your JVM", charset));
            }
            this.filteringCharset = charset;
        }
    
        private static class MapBackedExpandAction implements Action<FileCopyDetails> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/tasks/AbstractCopyTask.java

                getInputs().property(specPropertyName + ".filePermissions", spec.getFilePermissions().map(FilePermissions::toUnixNumeric))
                    .optional(true);
                getInputs().property(specPropertyName + ".filteringCharset", (Callable<String>) spec::getFilteringCharset);
            });
            this.getOutputs().doNotCacheIf(
                "Has custom actions",
                spec(task -> rootSpec.hasCustomActions())
            );
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top