title: retrieve text document content with Docs api JAVA
body: <p>How can i get the document content in java, with the google docs api. this is my code.</p>
  
  <pre><code>      MediaContent mc = (MediaContent) entry.getContent();
        String UrlForDownload = mc.getUri()+"&amp;exportFormat=txt&amp;format=txt";
          mc.setUri(UrlForDownload);
      MediaSource ms = client.getMedia(mc);
  </code></pre>
  
  <p>But am not getting the content, which is the right way to have it?
  thx in advance</p>