Lines Matching refs:strings
10 * is a list of strings.
19 protected List strings;
30 TXTBase(Name name, int type, int dclass, long ttl, List strings) {
32 if (strings == null)
33 throw new IllegalArgumentException("strings must not be null");
34 this.strings = new ArrayList(strings.size());
35 Iterator it = strings.iterator();
39 this.strings.add(byteArrayFromString(s));
54 strings = new ArrayList(2);
57 strings.add(b);
63 strings = new ArrayList(2);
69 strings.add(byteArrayFromString(t.value));
83 Iterator it = strings.iterator();
94 * Returns the text strings
95 * @return A list of Strings corresponding to the text strings.
99 List list = new ArrayList(strings.size());
100 for (int i = 0; i < strings.size(); i++)
101 list.add(byteArrayToString((byte []) strings.get(i), false));
106 * Returns the text strings
107 * @return A list of byte arrays corresponding to the text strings.
111 return strings;
116 Iterator it = strings.iterator();