Class PackagesCount

java.lang.Object
com.artipie.rpm.meta.PackagesCount

public class PackagesCount extends Object
Count of packages in metadata file.
Since:
0.11
  • Constructor Details

    • PackagesCount

      public PackagesCount(Path path)
      Ctor.
      Parameters:
      path - File path.
  • Method Details

    • value

      public int value() throws IOException
      Read packages count from `packages` attribute.
      Returns:
      Packages count.
      Throws:
      IOException - In case I/O error occurred reading the file.