public class PackageDescriptionFile
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Comment> |
comments
represents a list of comments in the file.
|
private java.lang.Integer |
formatVersion
represents the formatVersion of the file.
|
private java.util.List<PackageRule> |
packagerules
represents the list of packagerules.
|
| Constructor and Description |
|---|
PackageDescriptionFile()
Default constructor.
|
PackageDescriptionFile(java.util.List<Comment> comments,
java.util.List<PackageRule> packagerules,
java.lang.Integer version) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Comment> |
getComments() |
java.lang.Integer |
getFormatVersion() |
java.util.List<PackageRule> |
getPackagerules() |
int |
hashCode() |
java.lang.String |
toString() |
private final java.lang.Integer formatVersion
private final java.util.List<Comment> comments
private final java.util.List<PackageRule> packagerules
public PackageDescriptionFile()
public PackageDescriptionFile(java.util.List<Comment> comments, java.util.List<PackageRule> packagerules, java.lang.Integer version)
comments - represents a list of comments.packagerules - represents the list of package rules.version - is the format version of the PackageDescriptionFilepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Integer getFormatVersion()
public java.util.List<Comment> getComments()
public java.util.List<PackageRule> getPackagerules()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object