java.lang.Object
io.kojan.javadeptools.rpm.RpmPackage
Representation of a RPM package file that is present in the local file
system.
- Author:
- Mikolaj Izdebski
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RpmPackage
Read RPM package from disk.- Parameters:
path- path to a file to read as RPM package- Throws:
IOException- when given file is not a RPM valid package or when I/O error occurs reading package from disk
-
-
Method Details
-
getPath
Returns path to RPM package in the file system.- Returns:
- path to RPM package
-
getInfo
Returns detailed information about RPM package, extracted from RPM header.- Returns:
RpmInfofor the RPM package
-
toString
-
hashCode
public int hashCode() -
equals
-