public class MetaProperties
extends java.lang.Object
Constructor and Description |
---|
MetaProperties(java.lang.String contents)
Constructs a new MetaProperties object to hold information about the NVD
data.
|
Modifier and Type | Method and Description |
---|---|
long |
getGzSize()
Get the value of gzSize.
|
long |
getLastModifiedDate()
Get the value of lastModifiedDate in epoch time.
|
java.lang.String |
getSha256()
Get the value of SHA256.
|
long |
getSize()
Get the value of size.
|
long |
getZipSize()
Get the value of zipSize.
|
public MetaProperties(java.lang.String contents) throws InvalidDataException
contents
- the contents of the meta fileInvalidDataException
- thrown if the meta file contents cannot be
parsedpublic long getGzSize()
public long getZipSize()
public long getSize()
public long getLastModifiedDate()
public java.lang.String getSha256()
Copyright© 2012-21 Jeremy Long. All Rights Reserved.