Package org.eolang.maven
Class CachingObjectionary
- java.lang.Object
-
- org.eolang.maven.CachingObjectionary
-
- All Implemented Interfaces:
Objectionary
public final class CachingObjectionary extends Object implements Objectionary
Objectionary which caches objects locally.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description CachingObjectionary(String ver, Path cache, Objectionary primary)Ctor.
-
-
-
Constructor Detail
-
CachingObjectionary
public CachingObjectionary(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:ObjectionaryResolve object.- Specified by:
getin interfaceObjectionary- Parameters:
name- Object name.- Returns:
- Object code.
- Throws:
IOException- If fails to fetch.
-
-