Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,023 for Encoding (0.07 sec)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

         * @param encoding
         *            エンコーディング。{@literal null}や空文字列であってはいけません
         * @param out
         *            ライター
         * @return コピーした文字数。{@literal null}であってはいけません
         */
        public static int copy(final InputStream in, final String encoding, final Writer out) {
            assertArgumentNotNull("in", in);
            assertArgumentNotEmpty("encoding", encoding);
            assertArgumentNotNull("out", out);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

            }
            matcher.appendTail(sb);
            return sb.toString().replaceAll("\\s+", " ").trim();
        }
    
        public String getEncoding() {
            return encoding;
        }
    
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
         * @return Returns the preloadSizeForCharset.
         */
        public int getPreloadSizeForCharset() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/ReaderUtil.java

         *            入力ストリーム。{@literal null}であってはいけません
         * @param encoding
         *            入力ストリームのエンコーディング。{@literal null}や空文字列であってはいけません
         * @return ファイルかへ出力する{@link Reader}
         */
        public static InputStreamReader create(final InputStream is, final String encoding) {
            assertArgumentNotNull("is", is);
            assertArgumentNotEmpty("encoding", encoding);
    
            try {
                return new InputStreamReader(is, encoding);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

        }
    
        // If we add an "Accept-Encoding: gzip" header field we're responsible for also decompressing
        // the transfer stream.
        var transparentGzip = false
        if (userRequest.header("Accept-Encoding") == null && userRequest.header("Range") == null) {
          transparentGzip = true
          requestBuilder.header("Accept-Encoding", "gzip")
        }
    
        val cookies = cookieJar.loadForRequest(userRequest.url)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

            assertFileExistence(dir, filename, true);
    
            File file = new File(dir, filename);
    
            String contents = FileUtils.fileRead(file, encoding);
    
            assertEquals(contentsTest, contents);
        }
    
        public File createFile(File dir, String filename, String contents, String encoding) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. okhttp-brotli/src/main/kotlin/okhttp3/brotli/internal/Uncompress.kt

      if (!response.promisesBody()) {
        return response
      }
      val body = response.body
      val encoding = response.header("Content-Encoding") ?: return response
    
      val decompressedSource =
        when {
          encoding.equals("br", ignoreCase = true) ->
            BrotliInputStream(body.source().inputStream()).source().buffer()
          encoding.equals("gzip", ignoreCase = true) ->
            GzipSource(body.source()).buffer()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 13:19:01 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. docs/bucket/versioning/DESIGN.md

    allowing the unmarshaller's to automatically use the right data structures to parse the subsequent content in the stream.
    
    ### v1.0
    
    | Entry     | Encoding    | Content
    | ----------|-------------|----------------------------------------
    | xlHeader  | [4]byte     | `'X', 'L', '2', ' '`
    | xlVersion | [4]byte     | `'1', ' ', ' ', ' '`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  8. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        val response =
          response("https://httpbin.org/brotli", s.decodeHex()) {
            header("Content-Encoding", "br")
          }
    
        val uncompressed = uncompress(response)
    
        val responseString = uncompressed.body.string()
        assertThat(responseString).contains("\"brotli\": true,")
        assertThat(responseString).contains("\"Accept-Encoding\": \"br\"")
      }
    
      @Test
      fun testUncompressGzip() {
        val s =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlResponse.java

        public void setHttpStatusCode(final int httpStatusCode) {
            this.httpStatusCode = httpStatusCode;
        }
    
        public String getEncoding() {
            return encoding;
        }
    
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        public void setContentException(final Exception e) {
            contentException = e;
        }
    
        public Exception getContentException() {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

    import org.slf4j.LoggerFactory;
    
    public class FormScheme implements AuthScheme {
    
        private static final Logger logger = LoggerFactory.getLogger(FormScheme.class);
    
        private static final String ENCODING = "encoding";
    
        private static final String TOKEN_URL = "token_url";
    
        private static final String TOKEN_PATTERN = "token_pattern";
    
        private static final String TOKEN_NAME = "token_name";
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top