public void close(){
  try {
    mMimeType=null;
    if (null != mContentStream) {
      mContentStream.close();
      mContentStream=null;
    }
  }
 catch (  Exception e) {
    Log.e(LOG_TAG,"Resource.close failed " + e.getLocalizedMessage());
  }
}

public void close ( ) { try { mMimeType = null ; if ( null != mContentStream ) { mContentStream . close ( ) ; mContentStream = null ; } } catch ( Exception e ) { Log . e ( LOG_TAG , "Resource.close failed " + e . getLocalizedMessage ( ) ) ; } }
close the content stream .
