Class Url

java.lang.Object
com.structurizr.util.Url

public class Url
extends java.lang.Object
Utilities for dealing with URLs.
  • Constructor Summary

    Constructors 
    Constructor Description
    Url()  
  • Method Summary

    Modifier and Type Method Description
    static boolean isUrl​(java.lang.String urlAsString)
    Determines whether the supplied string is a valid URL.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Url

      public Url()
  • Method Details

    • isUrl

      public static boolean isUrl​(java.lang.String urlAsString)
      Determines whether the supplied string is a valid URL.
      Parameters:
      urlAsString - the URL, as a String
      Returns:
      true if the URL is valid, false otherwise