Package org.eolang.maven.objectionary
Class OyRemote.UrlOy
- java.lang.Object
-
- org.eolang.maven.objectionary.OyRemote.UrlOy
-
- Enclosing class:
- OyRemote
public static final class OyRemote.UrlOy extends Object
Objectionary URL template. Assumes two placeholders in terms ofString.format(String, Object...)
: 1st for version hash, 2nd for program name.
Example: "https://raw.githubusercontent.com/objectionary/home/%s/objects/%s.eo"- Since:
- 1.0
-
-
Method Detail
-
value
public URL value(String name) throws MalformedURLException
URL for the program.- Parameters:
name
- Fully qualified EO program name as specified byPlace
- Returns:
- URL
- Throws:
MalformedURLException
- in case of incorrect URL
-
-