public static InputStream toInputStream(final CharSequence input){
  return IOUtils.toInputStream(input,Charset.defaultCharset());
}

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