Java Object Array to String convertObjectArrayToStringArray(Object[] array)

Here you can find the source of convertObjectArrayToStringArray(Object[] array)

Description

convert Object Array To String Array

License

LGPL

Declaration

private static String[] convertObjectArrayToStringArray(Object[] array) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    private static String[] convertObjectArrayToStringArray(Object[] array) {
        String[] newArray = new String[array.length];
        for (int i = 0; i < newArray.length; i++) {
            newArray[i] = String.valueOf(array[i]);
        }//  w  w  w.  j a  va2  s.  co  m
        return newArray;
    }
}

Related

  1. convertObjectArrayToStringArray(Object[] objectArray)
  2. convertObjectToString(Object obj)
  3. convertObjectToString(Object obj)
  4. convertObjectToString(Object object)