marytts.client.http
Class Address

java.lang.Object
  extended by marytts.client.http.Address

public class Address
extends java.lang.Object

A class to keep host and port information in a structure

Author:
Oytun Türk

Constructor Summary
Address()
           
Address(java.lang.String fullAddress)
           
Address(java.lang.String hostIn, int portIn)
           
Address(java.lang.String hostIn, java.lang.String portIn)
           
 
Method Summary
 java.lang.String getFullAddress()
           
 java.lang.String getHost()
           
 java.lang.String getHttpAddress()
           
 int getPort()
           
 void init(java.lang.String hostIn, java.lang.String portIn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()

Address

public Address(java.lang.String hostIn,
               int portIn)

Address

public Address(java.lang.String hostIn,
               java.lang.String portIn)

Address

public Address(java.lang.String fullAddress)
Method Detail

init

public void init(java.lang.String hostIn,
                 java.lang.String portIn)

getHost

public java.lang.String getHost()

getPort

public int getPort()

getFullAddress

public java.lang.String getFullAddress()

getHttpAddress

public java.lang.String getHttpAddress()