Howto clone a URI

Posted by alesch on Stack Overflow See other posts from Stack Overflow or by alesch
Published on 2010-05-24T10:46:19Z Indexed on 2010/05/24 10:51 UTC
Read the original article Hit count: 314

Filed under:

Is there a better way to get a copy (clone) of a URI than this horrible hack?

import org.eclipse.emf.common.util.URI;

URI cloned = URI.createURI( originalURI.toString() );

Thanks in advance!

© Stack Overflow or respective owner

Related posts about java