Java Object to String castString(Object o)

Here you can find the source of castString(Object o)

Description

cast String

License

Open Source License

Declaration

public static String castString(Object o) 

Method Source Code

//package com.java2s;

public class Main {
    public static String castString(Object o) {
        return String.valueOf(o);
    }//from   ww  w  .  ja v  a2s  . c om
}

Related

  1. castString(Object obj)
  2. castString(Object obj, String defaultValue)
  3. castString(Object val)
  4. castToString(Object inValue)