Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.