Package org.eolang.maven.util
Class Online
- java.lang.Object
-
- org.eolang.maven.util.Online
-
public class Online extends Object
Check if we are online.- Since:
- 1.0
-
-
Constructor Detail
-
Online
public Online(String url)
Ctor.- Parameters:
url
- URL to check availability for.
-
Online
public Online()
Ctor. Check against default url.
-
-
Method Detail
-
value
public boolean value() throws IOException
If we are online.- Returns:
- True if we are online and false otherwise.
- Throws:
IOException
- In case of check failure
-
-