public class AuditResults extends Object
Constructor and Description |
---|
AuditResults(List<AuditResult> results,
long documentBytes)
Creates a new instance of AuditResults.
|
Modifier and Type | Method and Description |
---|---|
long |
getCountedBytes()
Get the total accounted for bytes.
|
long |
getDocumentBytes()
Get the size of the documet in bytes.
|
List<AuditResult> |
getResults()
Get the list of audit results.
|
Object |
getTotalCount()
Get the total number of objects counted.
|
com.qoppa.nanoxml.XMLElement |
toXml()
Get the results in XML format.
|
void |
writeXml(OutputStream out)
Write the audit results to an output stream as XML.
|
public AuditResults(List<AuditResult> results, long documentBytes)
results
- The list of results.documentBytes
- The size of the document in bytes.public List<AuditResult> getResults()
public long getCountedBytes()
public long getDocumentBytes()
public Object getTotalCount()
public void writeXml(OutputStream out) throws IOException
out
- the output stream the results will be written to as XML.IOException
public com.qoppa.nanoxml.XMLElement toXml()