Java Object Array to String objectArrayToString(Object object)

Here you can find the source of objectArrayToString(Object object)

Description

Type cast utility used to conserve data types within JDBC/HSQLDB.

License

Open Source License

Parameter

Parameter Description
object The Object array to be cast to a String

Return

the corresponding String

Declaration

public static String objectArrayToString(Object object) 

Method Source Code

//package com.java2s;

public class Main {
    /**//from w  w  w .j ava  2s  .c o  m
     * Type cast utility used to conserve data types within JDBC/HSQLDB.
     * Unwraps a String from an Object array.
     * @param object The Object array to be cast to a String
     * @return the corresponding String
     */
    public static String objectArrayToString(Object object) {
        return (String) ((Object[]) object)[0];
    }
}

Related

  1. convertObjectArrayToStringArray(Object[] objectArray)
  2. convertObjectToString(Object obj)
  3. convertObjectToString(Object obj)
  4. convertObjectToString(Object object)
  5. convertObjectToString(Object value)
  6. objectArrayToString(Object[] arr)
  7. objectArrayToString(Object[] arr, String name)
  8. objectArrayToString(Object[] objArray, String separator)
  9. objectArrayToString(Object[] objectArray)