- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for encode (0.19 sec)
-
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/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/test/java/org/codelibs/core/net/URLUtilTest.java
* @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")); } /** * @throws Exception */
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
outData[outIndex + 2] = ENCODE_TABLE[i >> 6 & 0x3f]; outData[outIndex + 3] = ENCODE_TABLE[i & 0x3f]; } private static void encode2pad(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) { final int i = inData[inIndex] & 0xff; outData[outIndex] = ENCODE_TABLE[i >> 2]; outData[outIndex + 1] = ENCODE_TABLE[i << 4 & 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
private static final byte[] BINARY_DATA = ORIGINAL.getBytes(); private static final String ENCODED_DATA = "aG93IG5vdyBicm93biBjb3cNCg=="; /** * @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 */
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/zip/ZipFileUtil.java
private static final Logger logger = Logger.getLogger(ZipFileUtil.class); /** * 指定されたZipファイルを読み取るための<code>ZipFile</code>を作成して返します。 * * @param file * ファイルパス。{@literal null}や空文字列であってはいけません * @return 指定されたZipファイルを読み取るための<code>ZipFile</code> */ public static ZipFile create(final String file) { assertArgumentNotEmpty("file", file); try {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
private static final Logger logger = Logger.getLogger(JarFileUtil.class); /** * 指定されたJarファイルを読み取るための<code>JarFile</code>を作成して返します。 * * @param file * ファイルパス。{@literal null}であってはいけません * @return 指定されたJarファイルを読み取るための<code>JarFile</code> */ public static JarFile create(final String file) { assertArgumentNotNull("file", file); try {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
} /** * 指定のエンコーディング方式を使用して文字列を<code>application/x-www-form-urlencoded</code> * 形式に変換します。 * * @param s * 変換対象の文字列。{@literal null}や空文字列であってはいけません * @param enc * エンコーディング。{@literal null}や空文字列であってはいけません * @return <code>application/x-www-form-urlencoded</code>でエンコード文字列 */ public static String encode(final String s, final String enc) {
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) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
if (url != null) { return url; } throw new ResourceNotFoundRuntimeException(getResourcePath(path, extension)); } /** * コンテキストクラスローダからリソースを返します。見つからなかった場合は<code>null</code>を返します。 * * @param path * リソースのパス。{@literal null}や空文字列であってはいけません * @return リソースの{@link URL} * @see #getResourceNoException(String, String) */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 15.8K bytes - Viewed (0)