gov.grants.apply.util
Class Attachment
java.lang.Object
gov.grants.apply.util.Attachment
- public class Attachment
- extends java.lang.Object
- Author:
- Brian Husted
Constructor Summary |
Attachment(java.lang.String fileName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Attachment
public Attachment(java.lang.String fileName)
getFile
public java.io.File getFile()
- Returns:
- Returns the file.
setFile
public void setFile(java.io.File file)
- Parameters:
file
- The file to set.
getByteArrayDS
public org.apache.soap.util.mime.ByteArrayDataSource getByteArrayDS()
- Returns:
- Returns the byteArrayDS.
setByteArrayDS
public void setByteArrayDS(org.apache.soap.util.mime.ByteArrayDataSource byteArrayDS)
- Parameters:
byteArrayDS
- The byteArrayDS to set.
getContentId
public java.lang.String getContentId()
- Returns:
- Returns the contentId.
setContentId
public void setContentId(java.lang.String contentId)
- Parameters:
contentId
- The contentId to set.
getContentType
public java.lang.String getContentType()
- Returns:
- Returns the contentType.
setContentType
public void setContentType(java.lang.String contentType)
- Parameters:
contentType
- The contentType to set.
getFileName
public java.lang.String getFileName()
- Returns:
- Returns the fileName.
setFileName
public void setFileName(java.lang.String fileName)
- Parameters:
fileName
- The fileName to set.
getAttachmentXML
public java.lang.String getAttachmentXML()
getHashValue
public java.lang.String getHashValue()
- Returns:
- Returns the hashValue.
setHashValue
public void setHashValue(java.lang.String hashValue)
- Parameters:
hashValue
- The hashValue to set.