Package overit.geocall.mail
Class TemporaryFileAttachment
java.lang.Object
overit.geocall.mail.Attachment
overit.geocall.mail.TemporaryFileAttachment
- All Implemented Interfaces:
DataSource
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanDeprecated.protected byte[]Deprecated.protected FileDeprecated.protected intDeprecated.protected StringDeprecated.protected StringDeprecated.protected intDeprecated.Fields inherited from class overit.geocall.mail.Attachment
_code, _contentType, _fileName, _type -
Constructor Summary
ConstructorsConstructorDescriptionTemporaryFileAttachment(String code, String fileName, String type, String contentType, File file, boolean autoDelete) Deprecated.TemporaryFileAttachment(String code, String fileName, String type, String contentType, InputStream is) Deprecated.TemporaryFileAttachment(String code, String fileName, String type, String contentType, InputStream is, String encoding) Deprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic FileDeprecated.protected voidfinalize()Deprecated.Deprecated.useEncoding(String encoding) Deprecated.Use of the passed encodingMethods inherited from class overit.geocall.mail.Attachment
getCode, getContentType, getFilename, getName, getOutputStream, getType, output, setType, toString
-
Field Details
-
MAX_IN_MEMORY_SIZE
protected int MAX_IN_MEMORY_SIZEDeprecated. -
_storeEncoding
Deprecated. -
_useEncoding
Deprecated. -
_f
Deprecated. -
_bb
protected byte[] _bbDeprecated. -
_len
protected int _lenDeprecated. -
_autoDelete
protected boolean _autoDeleteDeprecated.
-
-
Constructor Details
-
TemporaryFileAttachment
public TemporaryFileAttachment(String code, String fileName, String type, String contentType, File file, boolean autoDelete) throws IOException Deprecated.- Throws:
IOException
-
TemporaryFileAttachment
public TemporaryFileAttachment(String code, String fileName, String type, String contentType, InputStream is) throws IOException Deprecated.- Throws:
IOException
-
TemporaryFileAttachment
public TemporaryFileAttachment(String code, String fileName, String type, String contentType, InputStream is, String encoding) throws IOException Deprecated.- Throws:
IOException
-
TemporaryFileAttachment
public TemporaryFileAttachment(String code, String fileName, String type, String contentType, String text) throws IOException Deprecated.- Throws:
IOException
-
-
Method Details
-
createTemporaryAttachmentFile
Deprecated.- Throws:
IOException
-
useEncoding
Deprecated.Description copied from class:AttachmentUse of the passed encoding- Specified by:
useEncodingin classAttachment- Parameters:
encoding- The encoding- Returns:
- The encoding in use
-
getInputStream
Deprecated.- Specified by:
getInputStreamin interfaceDataSource- Specified by:
getInputStreamin classAttachment- Throws:
IOException
-
finalize
Deprecated.
-