/**
  * Deletes the Storage that holds the content of this binary body.
  *
  * @see org.apache.james.mime4j.dom.Disposable#dispose()
  */
 @Override
 public void dispose() {
   if (storage != null) {
     storage.delete();
     storage = null;
   }
 }
  @Override
  public void writeTo(OutputStream out) throws IOException {
    if (out == null) throw new IllegalArgumentException();

    InputStream in = storage.getInputStream();
    CodecUtil.copy(in, out);
    in.close();
  }
 @Override
 public StorageBinaryBody copy() {
   storage.addReference();
   return new StorageBinaryBody(storage);
 }
 @Override
 public InputStream getInputStream() throws IOException {
   return storage.getInputStream();
 }