(Tokenizer st, Name origin)
| 54 | } |
| 55 | |
| 56 | void |
| 57 | rdataFromString(Tokenizer st, Name origin) throws IOException { |
| 58 | next = st.getName(origin); |
| 59 | bitmap = new BitSet(); |
| 60 | while (true) { |
| 61 | Tokenizer.Token t = st.get(); |
| 62 | if (!t.isString()) |
| 63 | break; |
| 64 | int typecode = Type.value(t.value, true); |
| 65 | if (typecode <= 0 || typecode > 128) |
| 66 | throw st.exception("Invalid type: " + t.value); |
| 67 | bitmap.set(typecode); |
| 68 | } |
| 69 | st.unget(); |
| 70 | } |
| 71 | |
| 72 | /** Converts rdata to a String */ |
| 73 | String |