X25Record (dnsjava documentation)
Date: 2013-04-10

org.xbill.DNS

## Class X25Record

- java.lang.Object
- - org.xbill.DNS.Record
  - - org.xbill.DNS.X25Record

- All Implemented Interfaces:
    Serializable, Cloneable, Comparable

      public class X25Record
      extends Record

  X25 - identifies the PSDN (Public Switched Data Network) address in the X.121 numbering plan associated with a name.
  Author:
    Brian Wellington
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.xbill.DNS.Record

      `dclass, name, ttl, type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `X25Record(Name name, int dclass, long ttl, String address)` Creates an X25 Record from the given data

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAddress()` Returns the X.25 PSDN address.

    - ### Methods inherited from class org.xbill.DNS.Record

      `byteArrayFromString, byteArrayToString, compareTo, equals, fromString, fromString, fromWire, getAdditionalName, getDClass, getName, getRRsetType, getTTL, getType, hashCode, newRecord, newRecord, newRecord, newRecord, rdataToString, rdataToWireCanonical, sameRRset, toString, toWire, toWireCanonical, unknownToString, withName`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### X25Record

          public X25Record(Name name,
                   int dclass,
                   long ttl,
                   String address)

      Creates an X25 Record from the given data
      Parameters:
        `address` - The X.25 PSDN address.
      Throws:
        `IllegalArgumentException` - The address is not a valid PSDN address.

  - ### Method Detail

    - #### getAddress

          public String getAddress()

      Returns the X.25 PSDN address.