Class OyFilesystem

  • All Implemented Interfaces:
    Objectionary

    public final class OyFilesystem
    extends Object
    implements Objectionary
    Objectionary stored locally in the filesystem. The aim of this class is to download object sources directly from the filesystem, for example, from the project itself. It is useful for testing purposes. The difference with OyHome is that OyHome downloads object sources from the shared cash folder, and OyFilesystemSources downloads object sources from the particular project folder - from the source code of the project itself.
    Since:
    0.30
    • Constructor Detail

      • OyFilesystem

        public OyFilesystem()
        Constructor.
    • Method Detail

      • get

        public org.cactoos.Input get​(String name)
        Description copied from interface: Objectionary
        Resolve object.
        Specified by:
        get in interface Objectionary
        Parameters:
        name - Object name.
        Returns:
        Object code.
      • contains

        public boolean contains​(String name)
        Description copied from interface: Objectionary
        Checks whether an Objectionary contains a provided object.
        Specified by:
        contains in interface Objectionary
        Parameters:
        name - Object name.
        Returns:
        Boolean: "true" if found, "false" if not.