org.xbill.DNS.EmptyRecord Maven / Gradle / Ivy
The newest version!
// Copyright (c) 1999-2004 Brian Wellington ([email protected])
package org.xbill.DNS;
import java.io.*;
/**
* A class implementing Records with no data; that is, records used in
* the question section of messages and meta-records in dynamic update.
*
* @author Brian Wellington
*/
class EmptyRecord extends Record {
private static final long serialVersionUID = 3601852050646429582L;
EmptyRecord() {}
Record
getObject() {
return new EmptyRecord();
}
void
rrFromWire(DNSInput in) throws IOException {
}
void
rdataFromString(Tokenizer st, Name origin) throws IOException {
}
String
rrToString() {
return "";
}
void
rrToWire(DNSOutput out, Compression c, boolean canonical) {
}
}