Thanks for posting your questions here. From the
Java SDK for Dropbox, the APIs seem to all use
InputStream,
OutputStream for writing and reading files respectively. As such, I would strongly suggest using those standard classes for these types of operations.
You could use
new ByteArrayInputStream(myString.getBytes(charset)) to turn your string into the corresponding stream required. Is there any particular reason why you need to use
StringReader? Are facing any particular difficulties with the
tutorials Dropbox provides with their Java SDK? Knowing these factors, we the community may be able to provide a more specific or tailored solution.