public static DefaultPeer fromURI(final String uri) {
    return new DefaultPeer(EnodeURLImpl.fromString(uri));
  }
Creates a {@link DefaultPeer} instance from a String representation of an enode URL.

@param uri A String representation of the enode URI.
@return The Peer instance.
@see <a href="https://github.com/ethereum/wiki/wiki/enode-url-format">enode URL format</a>
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/peers/DefaultPeer.java