public class ScapResultFile
extends java.lang.Object
implements org.apache.struts.actions.DownloadAction.StreamInfo
Constructor and Description |
---|
ScapResultFile(XccdfTestResult testResultIn,
java.lang.String filenameIn)
Constructeur
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType() |
java.lang.String |
getFilename()
Return the file name of this file
|
java.lang.Boolean |
getHTML()
Query if the format of the given file is HTML.
|
java.io.InputStream |
getInputStream() |
java.lang.String |
toString()
Get human readable representation of this class
|
public ScapResultFile(XccdfTestResult testResultIn, java.lang.String filenameIn)
testResultIn
- The XccdfTestResult which is assigned with the given filefilenameIn
- The file namepublic java.lang.String getFilename()
public java.lang.Boolean getHTML()
public java.lang.String getContentType()
getContentType
in interface org.apache.struts.actions.DownloadAction.StreamInfo
public java.io.InputStream getInputStream()
getInputStream
in interface org.apache.struts.actions.DownloadAction.StreamInfo
public java.lang.String toString()
toString
in class java.lang.Object