Help with java File
<pre><code>File[] roots = File.listRoots();  
for(File root: roots)  
{  
    System.out.println(root);  
}
</code></pre>

<p>I am new to java,i want to know how can i copy the result of this code in a String instead of print them. Thanks</p>
