Class Programs

java.lang.Object
org.eolang.lints.Programs

public final class Programs extends Object
A collection of XMIR programs to analyze. To get the current version of `lints`, you should read it from MANIFEST.MF file, packaged with library. You can do it like this:
 
 import com.jcabi.manifests.Manifests;

 final String version = Manifests.read("Lints-Version");
 
 
Since:
0.1.0
See Also:
  • Constructor Details

    • Programs

      public Programs(Path... dirs) throws IOException
      Ctor.
      Parameters:
      dirs - The directory
      Throws:
      IOException - If fails
    • Programs

      public Programs(Collection<Path> dirs) throws IOException
      Ctor.

      Pay attention, it's important to use Collection as a type of argument, because Path implements Iterable.

      Parameters:
      dirs - The directory
      Throws:
      IOException - If fails
    • Programs

      public Programs(Map<String,com.jcabi.xml.XML> map)
      Ctor.
      Parameters:
      map - The map with them
  • Method Details