How to convert Vector with string to String array in java?
Try Vector.toArray(new String[0]).
P.S. Is there a reason why you're using Vector in preference to ArrayList?
Vector
ArrayList