org.jboss.test
Class JBossTestUtil
java.lang.Object
org.jboss.test.JBossTestUtil
public class JBossTestUtil
- extends Object
Static class to provide utility functions that cross the class hierarchy.
- Version:
- $Revision$
- Author:
- Richard Achmatowicz
Method Summary |
static String |
fixHostnameForURL(String host)
Utility to check if a hostname is an IPv6 literal and is so, add surrounding brackets
for use in URLs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossTestUtil
public JBossTestUtil()
fixHostnameForURL
public static String fixHostnameForURL(String host)
- Utility to check if a hostname is an IPv6 literal and is so, add surrounding brackets
for use in URLs
- Parameters:
hostname
-
- Returns:
- hostname suitable for use in URLs
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.