本文整理了Java中org.xbill.DNS.Record.fromString
方法的一些代码示例,展示了Record.fromString
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.fromString
方法的具体详情如下:
包路径:org.xbill.DNS.Record
类名称:Record
方法名:fromString
暂无
代码示例来源:origin: dnsjava/dnsjava
/**
* Parses a record from the string, and inserts a prerequisite that the
* record exists. Due to the way value-dependent prequisites work, the
* condition that must be met is that the set of all records with the same
* and type in the update message must be identical to the set of all records
* with that name and type on the server.
* @throws IOException The record could not be parsed.
*/
public void
present(Name name, int type, String record) throws IOException {
newPrereq(Record.fromString(name, type, dclass, 0, record, origin));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Parses a record from the tokenizer, and inserts a prerequisite that the
* record exists. Due to the way value-dependent prequisites work, the
* condition that must be met is that the set of all records with the same
* and type in the update message must be identical to the set of all records
* with that name and type on the server.
* @throws IOException The record could not be parsed.
*/
public void
present(Name name, int type, Tokenizer tokenizer) throws IOException {
newPrereq(Record.fromString(name, type, dclass, 0, tokenizer, origin));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Parses a record from the string, and indicates that the record
* should be deleted from the zone.
* @throws IOException The record could not be parsed.
*/
public void
delete(Name name, int type, String record) throws IOException {
newUpdate(Record.fromString(name, type, DClass.NONE, 0, record,
origin));
}
代码示例来源:origin: tiandawu/IotXmpp
/**
* Parses a record from the string, and indicates that the record
* should be inserted into the zone.
* @throws IOException The record could not be parsed.
*/
public void
add(Name name, int type, long ttl, String record) throws IOException {
newUpdate(Record.fromString(name, type, dclass, ttl, record, origin));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Parses a record from the string, and indicates that the record
* should be inserted into the zone.
* @throws IOException The record could not be parsed.
*/
public void
add(Name name, int type, long ttl, String record) throws IOException {
newUpdate(Record.fromString(name, type, dclass, ttl, record, origin));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Parses a record from the string, and indicates that the record
* should be inserted into the zone.
* @throws IOException The record could not be parsed.
*/
public void
add(Name name, int type, long ttl, String record) throws IOException {
newUpdate(Record.fromString(name, type, dclass, ttl, record, origin));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Parses a record from the tokenizer, and indicates that the record
* should be inserted into the zone.
* @throws IOException The record could not be parsed.
*/
public void
add(Name name, int type, long ttl, Tokenizer tokenizer) throws IOException {
newUpdate(Record.fromString(name, type, dclass, ttl, tokenizer,
origin));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Parses a record from the tokenizer, and inserts a prerequisite that the
* record exists. Due to the way value-dependent prequisites work, the
* condition that must be met is that the set of all records with the same
* and type in the update message must be identical to the set of all records
* with that name and type on the server.
* @throws IOException The record could not be parsed.
*/
public void
present(Name name, int type, Tokenizer tokenizer) throws IOException {
newPrereq(Record.fromString(name, type, dclass, 0, tokenizer, origin));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Parses a record from the tokenizer, and indicates that the record
* should be inserted into the zone.
* @throws IOException The record could not be parsed.
*/
public void
add(Name name, int type, long ttl, Tokenizer tokenizer) throws IOException {
newUpdate(Record.fromString(name, type, dclass, ttl, tokenizer,
origin));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Parses a record from the tokenizer, and indicates that the record
* should be deleted from the zone.
* @throws IOException The record could not be parsed.
*/
public void
delete(Name name, int type, Tokenizer tokenizer) throws IOException {
newUpdate(Record.fromString(name, type, DClass.NONE, 0, tokenizer,
origin));
}
代码示例来源:origin: org.littleshoot/dnsjava
/**
* Parses a record from the string, and inserts a prerequisite that the
* record exists. Due to the way value-dependent prequisites work, the
* condition that must be met is that the set of all records with the same
* and type in the update message must be identical to the set of all records
* with that name and type on the server.
* @throws IOException The record could not be parsed.
*/
public void
present(Name name, int type, String record) throws IOException {
newPrereq(Record.fromString(name, type, dclass, 0, record, origin));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Parses a record from the string, and indicates that the record
* should be inserted into the zone.
* @throws IOException The record could not be parsed.
*/
public void
add(Name name, int type, long ttl, String record) throws IOException {
newUpdate(Record.fromString(name, type, dclass, ttl, record, origin));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Parses a record from the tokenizer, and indicates that the record
* should be inserted into the zone.
* @throws IOException The record could not be parsed.
*/
public void
add(Name name, int type, long ttl, Tokenizer tokenizer) throws IOException {
newUpdate(Record.fromString(name, type, dclass, ttl, tokenizer,
origin));
}
代码示例来源:origin: tiandawu/IotXmpp
/**
* Parses a record from the string, and inserts a prerequisite that the
* record exists. Due to the way value-dependent prequisites work, the
* condition that must be met is that the set of all records with the same
* and type in the update message must be identical to the set of all records
* with that name and type on the server.
* @throws IOException The record could not be parsed.
*/
public void
present(Name name, int type, String record) throws IOException {
newPrereq(Record.fromString(name, type, dclass, 0, record, origin));
}
代码示例来源:origin: net.sf.dnsjava-osgi/dnsjava-osgi
/**
* Parses a record from the string, and indicates that the record
* should be deleted from the zone.
* @throws IOException The record could not be parsed.
*/
public void
delete(Name name, int type, String record) throws IOException {
newUpdate(Record.fromString(name, type, DClass.NONE, 0, record,
origin));
}
代码示例来源:origin: tiandawu/IotXmpp
/**
* Parses a record from the tokenizer, and inserts a prerequisite that the
* record exists. Due to the way value-dependent prequisites work, the
* condition that must be met is that the set of all records with the same
* and type in the update message must be identical to the set of all records
* with that name and type on the server.
* @throws IOException The record could not be parsed.
*/
public void
present(Name name, int type, Tokenizer tokenizer) throws IOException {
newPrereq(Record.fromString(name, type, dclass, 0, tokenizer, origin));
}
代码示例来源:origin: tiandawu/IotXmpp
/**
* Parses a record from the tokenizer, and indicates that the record
* should be inserted into the zone.
* @throws IOException The record could not be parsed.
*/
public void
add(Name name, int type, long ttl, Tokenizer tokenizer) throws IOException {
newUpdate(Record.fromString(name, type, dclass, ttl, tokenizer,
origin));
}
代码示例来源:origin: tiandawu/IotXmpp
/**
* Parses a record from the string, and indicates that the record
* should be deleted from the zone.
* @throws IOException The record could not be parsed.
*/
public void
delete(Name name, int type, String record) throws IOException {
newUpdate(Record.fromString(name, type, DClass.NONE, 0, record,
origin));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Parses a record from the string, and indicates that the record
* should be deleted from the zone.
* @throws IOException The record could not be parsed.
*/
public void
delete(Name name, int type, String record) throws IOException {
newUpdate(Record.fromString(name, type, DClass.NONE, 0, record,
origin));
}
代码示例来源:origin: dnsjava/dnsjava
/**
* Parses a record from the tokenizer, and indicates that the record
* should be deleted from the zone.
* @throws IOException The record could not be parsed.
*/
public void
delete(Name name, int type, Tokenizer tokenizer) throws IOException {
newUpdate(Record.fromString(name, type, DClass.NONE, 0, tokenizer,
origin));
}
内容来源于网络,如有侵权,请联系作者删除!