JBoss Test 1.2.0.Final

org.jboss.test
Class JBossTestUtil

java.lang.Object
  extended by 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

Constructor Summary
JBossTestUtil()
           
 
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
 

Constructor Detail

JBossTestUtil

public JBossTestUtil()
Method Detail

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

JBoss Test 1.2.0.Final

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.