public int readStrings(DataInput in, Collection<String> collection) throws IOException {
        return strategy.readStrings(in, collection);
    }
Reads the string array from the input stream and adds them to the specified collection. 

@param in the input stream.
@param collection the collection to add the read strings from the input stream.
@return number of elements added to the collection.
@throws IOException if an error occurs.
xmppserver/src/main/java/org/jivesoftware/util/cache/ExternalizableUtil.java