- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,009 for Encodings (0.07 seconds)
-
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]; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/PropertiesUtil.java
assertArgumentNotNull("props", props); assertArgumentNotNull("file", file); assertArgumentNotEmpty("encoding", encoding); final Reader reader = ReaderUtil.create(file, encoding); try { props.load(reader); } catch (final IOException e) { throw new IORuntimeException(e); } finally { CloseableUtil.close(reader);
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.9K bytes - Click Count (0) -
api/go1.6.txt
pkg encoding/asn1, const TagBitString ideal-int pkg encoding/asn1, const TagBoolean = 1 pkg encoding/asn1, const TagBoolean ideal-int pkg encoding/asn1, const TagEnum = 10 pkg encoding/asn1, const TagEnum ideal-int pkg encoding/asn1, const TagGeneralString = 27 pkg encoding/asn1, const TagGeneralString ideal-int pkg encoding/asn1, const TagGeneralizedTime = 24 pkg encoding/asn1, const TagGeneralizedTime ideal-int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 13 23:40:13 GMT 2016 - 12.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
* * @param is * the input stream (must not be {@literal null}) * @param encoding * the encoding of the input stream (must not be {@literal null} or empty) * @return a {@link Reader} to read from the file */ public static InputStreamReader create(final InputStream is, final String encoding) { assertArgumentNotNull("is", is);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.3K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/Hc5IdnDnsResolver.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; }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jan 04 13:09:59 GMT 2026 - 4.5K bytes - Click Count (0) -
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 {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 4.8K bytes - Click Count (0) -
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; }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 06 07:24:43 GMT 2025 - 3.9K bytes - Click Count (0) -
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);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
} /** * Gets the encoding used for the response content. * * @return the encoding. */ public String getEncoding() { return encoding; } /** * Sets the encoding for the response content. * * @param encoding the encoding to set. */ public void setEncoding(final String encoding) { this.encoding = encoding; }Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 6.8K bytes - Click Count (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt
val s = "hello zstd world".encodeUtf8().zstdCompress() val response = response("https://example.com/", s) { header("Content-Encoding", "zstd") } val decompressed = zstdInterceptor.decompress(response) assertThat(decompressed.header("Content-Encoding")).isNull() val responseString = decompressed.body.string() assertThat(responseString).isEqualTo("hello zstd world") } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 4.8K bytes - Click Count (1)