Lines Matching refs:address
18 private byte [] address;
28 checkAndConvertAddress(String address) {
29 if (!address.substring(0, 2).equalsIgnoreCase("0x")) {
35 for (int i = 2; i < address.length(); i++) {
36 char c = address.charAt(i);
62 * @param address The NSAP address.
63 * @throws IllegalArgumentException The address is not a valid NSAP address.
66 NSAPRecord(Name name, int dclass, long ttl, String address) {
68 this.address = checkAndConvertAddress(address);
69 if (this.address == null) {
70 throw new IllegalArgumentException("invalid NSAP address " +
71 address);
77 address = in.readByteArray();
83 this.address = checkAndConvertAddress(addr);
84 if (this.address == null)
85 throw st.exception("invalid NSAP address " + addr);
89 * Returns the NSAP address.
93 return byteArrayToString(address, false);
98 out.writeByteArray(address);
103 return "0x" + base16.toString(address);