Package i2p.susi.webmail
Class Attachment
java.lang.Object
i2p.susi.webmail.Attachment
- Since:
- public since 0.9.33, was package private
- Author:
- user
-
Constructor Details
-
Attachment
- Parameters:
type
- the content typeencoding
- the transfer encoding, non-null
-
-
Method Details
-
getFileName
- Returns:
- Returns the fileName.
-
getTransferEncoding
- Returns:
- non-null
-
getContentType
-
getData
- Returns:
- Returns the data.
- Throws:
IOException
-
getPath
- Returns:
- absolute path to the data file
- Since:
- 0.9.35
-
getSize
public long getSize()The unencoded size- Since:
- 0.9.33
-
deleteData
public void deleteData()Delete the data file- Since:
- 0.9.33
-
hashCode
public int hashCode() -
equals
-