Package java.net

Class InetUnixAddress

java.lang.Object
java.net.InetAddress
java.net.InetUnixAddress
All Implemented Interfaces:
Serializable

public final class InetUnixAddress
extends InetAddress
An AF_UNIX address. See InetAddress.
See Also:
Serialized Form
  • Constructor Details

    • InetUnixAddress

      public InetUnixAddress​(String path)
      Constructs an AF_UNIX InetAddress for the given path.
    • InetUnixAddress

      public InetUnixAddress​(byte[] path)
      Constructs an AF_UNIX InetAddress for the given path.
  • Method Details

    • toString

      public String toString()
      Returns a string form of this InetAddress.
      Overrides:
      toString in class InetAddress
      Returns:
      a printable representation of this object.