title: Convert java.io.StringWriter to byte[] array
body: <p>How to convert <code>java.io.StringWriter</code> to <code>byte[]</code> array?
  Using <code>OpenCSV</code> i get <code>StringWriter</code> <code>sw</code> object and this <code>sw</code> object I want to convert into <code>byte[]</code> array.</p>