Package overit.geocall.mail
Class DBAttachment
java.lang.Object
overit.geocall.mail.Attachment
overit.geocall.mail.DBAttachment
- All Implemented Interfaces:
DataSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Longprotected Stringprotected static intFields inherited from class overit.geocall.mail.Attachment
_code, _contentType, _fileName, _type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class overit.geocall.mail.Attachment
getCode, getContentType, getFilename, getName, getOutputStream, getType, output, setType, toString
-
Field Details
-
BLOB_BLOCKSIZE
protected static int BLOB_BLOCKSIZE -
_id
-
_dbEncoding
-
_useEncoding
-
-
Constructor Details
-
DBAttachment
-
-
Method Details
-
useEncoding
Description copied from class:AttachmentUse of the passed encoding- Specified by:
useEncodingin classAttachment- Parameters:
encoding- The encoding- Returns:
- The encoding in use
-
getInputStream
- Specified by:
getInputStreamin interfaceDataSource- Specified by:
getInputStreamin classAttachment- Throws:
IOException
-