Package org.eolang.maven
Class OyCaching
- java.lang.Object
-
- org.eolang.maven.OyCaching
-
- All Implemented Interfaces:
Objectionary
public final class OyCaching extends Object implements Objectionary
Objectionary which caches objects locally.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description OyCaching(String ver, Path cache, Objectionary primary)
Ctor.
-
-
-
Constructor Detail
-
OyCaching
public OyCaching(String ver, Path cache, Objectionary primary)
Ctor.- Parameters:
ver
- Version.cache
- Cache directory.primary
- Primary objectionary.
-
-
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.
-
-