public URI toUri(final String stringUri) {
    try {
      final java.net.URI netUri = new java.net.URI(stringUri);
      return this.toEmfUri(netUri);
    } catch (Throwable _e) {
      throw Exceptions.sneakyThrow(_e);
    }
  }
public URI toUri ( final String stringUri ) { try { final java . net . URI netUri = new java . net . URI ( stringUri ) ; return this . toEmfUri ( netUri ) ; } catch ( Throwable _e ) { throw Exceptions . sneakyThrow ( _e ) ; } }
returns a URI with empty authority, if absent and has file scheme.