Package org.eolang.maven
Class RemoteObjectionary
- java.lang.Object
-
- org.eolang.maven.RemoteObjectionary
-
- All Implemented Interfaces:
Objectionary
public final class RemoteObjectionary extends Object implements Objectionary
The simple HTTP Objectionary server.- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description RemoteObjectionary()
Ctor.RemoteObjectionary(String hsh)
Ctor.RemoteObjectionary(String url, String hsh)
Ctor.
-
-
-
Constructor Detail
-
RemoteObjectionary
public RemoteObjectionary()
Ctor.
-
RemoteObjectionary
public RemoteObjectionary(String hsh)
Ctor.- Parameters:
hsh
- The GitHub hash
-
-
Method Detail
-
get
public org.cactoos.Input get(String name) throws IOException
Description copied from interface:Objectionary
Resolve object.- Specified by:
get
in interfaceObjectionary
- Parameters:
name
- Object name.- Returns:
- Object code.
- Throws:
IOException
- If fails to fetch.
-
-