- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for unicode (0.16 sec)
-
src/main/java/org/codelibs/core/convert/StringConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/crypto/CachedCipher.java
} finally { offerEncryptoCipher(cipher); } return encrypted; } public String encryptoText(final String text) { try { return Base64Util.encode(encrypto(text.getBytes(charsetName))); } catch (final UnsupportedEncodingException e) { throw new UnsupportedEncodingRuntimeException(e); } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
/** * @author taichi * */ public class URLUtilTest extends TestCase { /** * @throws Exception */ public void testEncode() throws Exception { assertEquals("Program+Files", URLUtil.encode("Program Files", "UTF-8")); } /** * @throws Exception */ public void testDecode() throws Exception { assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8")); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
} private static void encode(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) { final int i = ((inData[inIndex] & 0xff) << 16) + ((inData[inIndex + 1] & 0xff) << 8) + (inData[inIndex + 2] & 0xff); outData[outIndex] = ENCODE_TABLE[i >> 18]; outData[outIndex + 1] = ENCODE_TABLE[i >> 12 & 0x3f]; outData[outIndex + 2] = ENCODE_TABLE[i >> 6 & 0x3f];
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
/** * @throws Exception */ public void testEncode() throws Exception { assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA)); System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' })); } /** * @throws Exception */ public void testDecode() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* @return <code>application/x-www-form-urlencoded</code>でエンコード文字列 */ public static String encode(final String s, final String enc) { assertArgumentNotEmpty("s", s); assertArgumentNotEmpty("enc", enc); try { return URLEncoder.encode(s, enc); } catch (final UnsupportedEncodingException e) { throw new IORuntimeException(e); } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 7.3K bytes - Viewed (0)