MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / rdataFromString

Method rdataFromString

src/main/java/core/org/xbill/DNS/TXTBase.java:61–77  ·  view source on GitHub ↗
(Tokenizer st, Name origin)

Source from the content-addressed store, hash-verified

59}
60
61void
62rdataFromString(Tokenizer st, Name origin) throws IOException {
63 strings = new ArrayList(2);
64 while (true) {
65 Tokenizer.Token t = st.get();
66 if (!t.isString())
67 break;
68 try {
69 strings.add(byteArrayFromString(t.value));
70 }
71 catch (TextParseException e) {
72 throw st.exception(e.getMessage());
73 }
74
75 }
76 st.unget();
77}
78
79/** converts to a String */
80String

Callers

nothing calls this directly

Calls 6

isStringMethod · 0.80
byteArrayFromStringMethod · 0.80
exceptionMethod · 0.80
ungetMethod · 0.80
getMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected