- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toCanonicalProtocol (0.16 sec)
-
src/test/java/org/codelibs/core/net/URLUtilTest.java
*/ public void testToCanonicalProtocol() throws Exception { assertEquals("jar", URLUtil.toCanonicalProtocol("wsjar")); assertEquals("jar", URLUtil.toCanonicalProtocol("jar")); assertEquals("zip", URLUtil.toCanonicalProtocol("zip")); assertEquals("file", URLUtil.toCanonicalProtocol("file")); } /** * @throws Exception */ public void testToFile() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
* <li>{@literal vfsfile} (JBossAS5独自プロトコル、{@literal file}の別名)</li> * <li>{@literal vfszip} (JBossAS5独自プロトコル)</li> * </ul> * * @author koichik * @see URLUtil#toCanonicalProtocol(String) * @see ClassTraversalUtil * @see ResourceTraversalUtil */ public abstract class TraversalUtil { /** 空の{@link Traverser}の配列です。 */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
} /** * プロトコルを正規化して返します。 * * @param protocol * プロトコル。{@literal null}や空文字列であってはいけません * @return 正規化されたプロトコル */ public static String toCanonicalProtocol(final String protocol) { assertArgumentNotEmpty("protocol", protocol); final String canonicalProtocol = CANONICAL_PROTOCOLS.get(protocol); if (canonicalProtocol != null) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.3K bytes - Viewed (0)