Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.fourthline.cling.model.types
Class HostPort

    java.lang.Object
      org.fourthline.cling.model.types.HostPort

    public class HostPort

extends Object

Encapsulates a host string and a port.

Author:
  Christian Bauer

Constructor Summary
`HostPort()`
`HostPort(String host, int port)`

Method Summary
`boolean` | `equals(Object o)`
`String` | `getHost()`
`int` | `getPort()`
`int` | `hashCode()`
`void` | `setHost(String host)`
`void` | `setPort(int port)`
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### HostPort

    public HostPort()

### HostPort

    public HostPort(String host,
                    int port)

Method Detail

### getHost

    public String getHost()

### setHost

    public void setHost(String host)

### getPort

    public int getPort()

### setPort

    public void setPort(int port)

### equals

    public boolean equals(Object o)

  Overrides:
    `equals` in class `Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `Object`

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.