code: private static void close(InputSource source) {
  		if (source != null) {
  			if (source.getByteStream() != null) {
  				close(source.getByteStream());
  			}
  			if (source.getCharacterStream() != null) {
  				close(source.getCharacterStream());
  			}
  		}
  	}
docs: Close input source.
  
  @param source input source to be closed.