public static InputStream toInputStream(CharSequence input,Charset encoding){
  return toInputStream(input.toString(),encoding);
}

public static InputStream toInputStream ( CharSequence input , Charset encoding ) { return toInputStream ( input . toString ( ) , encoding ) ; }
convert the specified charsequence to an input stream , encoded as bytes using the specified character encoding .
