org.xbill.DNS.Record.fromString()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(7.5k)|赞(0)|评价(0)|浏览(85)

本文整理了Java中org.xbill.DNS.Record.fromString方法的一些代码示例,展示了Record.fromString的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.fromString方法的具体详情如下:
包路径:org.xbill.DNS.Record
类名称:Record
方法名:fromString

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));
}

相关文章