Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 734 for encodings (0.06 sec)

  1. src/main/java/jcifs/util/Strings.java

        private Strings() {
        }
    
        /**
         * Encodes a string into bytes using the specified encoding.
         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TextExtractor.java

            }
        }
    
        /**
         * Returns the encoding used for text extraction.
         * @return the encoding
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Sets the encoding.
         * @param encoding The encoding to set.
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

         * @param params The parameter string.
         * @param paramList Additional parameters.
         * @param encoding The encoding.
         * @return The HttpEntity containing the parsed parameters.
         */
        protected HttpEntity parseRequestParameters(final String params, final List<Pair<String, String>> paramList, final String encoding) {
            try {
                final List<BasicNameValuePair> parameters =
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  4. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

          .build()
      }
    
      internal fun lookupDecompressor(encoding: String): DecompressionAlgorithm? =
        algorithms.find {
          it.encoding.equals(encoding, ignoreCase = true)
        }
    
      /**
       * A decompression algorithm such as Gzip. Must provide the Accept-Encoding value and decompress a Source.
       */
      interface DecompressionAlgorithm {
        val encoding: String
    
        fun decompress(compressedSource: BufferedSource): Source
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

         */
        public void setFlag(final int flag) {
            this.flag = flag;
        }
    
        /**
         * Sets the encoding for URL decoding.
         *
         * @param encoding the encoding to set
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

        }
    
        /**
         * Get the encoding.
         * @return encoding
         */
        public String getEncoding() {
            return encoding;
        }
    
        /**
         * Set the encoding.
         * @param encoding the encoding to set
         */
        public void setEncoding(final String encoding) {
            this.encoding = encoding;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            }
    
            return normalizeEncoding(encoding);
        }
    
        /**
         * Normalizes the encoding name using the encoding helper.
         *
         * @param encoding the encoding name to normalize
         * @return the normalized encoding name
         */
        protected String normalizeEncoding(final String encoding) {
            try {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Reads text from a file with the specified encoding.
         *
         * @param path
         *            The file path. Must not be {@literal null} or empty.
         * @param encoding
         *            The encoding. Must not be {@literal null} or empty.
         * @return The text read from the file.
         */
        public static String readText(final String path, final String encoding) {
            assertArgumentNotEmpty("path", path);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            }
        }
    
        @Nested
        @DisplayName("Encoding Tests")
        class EncodingTests {
    
            @Test
            @DisplayName("Should encode value correctly")
            void testEncode() throws NdrException {
                // Given: NdrShort with test value
                int testValue = 123;
                NdrShort ndrShort = new NdrShort(testValue);
    
                // When: Encoding the value
                ndrShort.encode(mockBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top