Package org.apache.any23.util

## Class URLUtils

- java.lang.Object
- - org.apache.any23.util.URLUtils

-     public class URLUtils
      extends Object

  Contains general utility functions for handling URLs.
  Author:
    Michele Mostarda (mostarda@fbk.eu)

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static boolean` | `isOnline​(String url)` | Verifies if the specified URL is reachable online.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### isOnline

          public static boolean isOnline​(String url)
                                  throws MalformedURLException

      Verifies if the specified URL is reachable online.
      Parameters:
        `url` - input URL.
      Returns:
        `true` if the resource can be accessed, `false` otherwise.
      Throws:
        `MalformedURLException` - if `url` is malformed.