IP*Works! V9

ipworks
Class FileAttachment

java.lang.Object
  extended by ipworks.FileAttachment

public class FileAttachment
extends java.lang.Object

This describes the file being attached.

Information about the file's location that is being attached to the message is contained here.

File: This field contains the path of a file on your system that you would like to send as an attachment with your message.

InputStream: When this field is set to a valid stream, the bean will attach the data from the stream as the current attachment.

Name: This field contains the name of the attachment to be sent.

See Also:
Atom, Atom.FileAttachment

Constructor Summary
FileAttachment()
           
FileAttachment(java.lang.String file)
           
FileAttachment(java.lang.String name, java.io.InputStream inputStream)
           
FileAttachment(java.lang.String name, java.io.InputStream inputStream, java.lang.String encoding)
           
FileAttachment(java.lang.String name, java.lang.String file)
           
 
Method Summary
 java.lang.String getFile()
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 void setFile(java.lang.String value)
           
 void setInputStream(java.io.InputStream value)
           
 void setName(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileAttachment

public FileAttachment()

FileAttachment

public FileAttachment(java.lang.String file)

FileAttachment

public FileAttachment(java.lang.String name,
                      java.lang.String file)

FileAttachment

public FileAttachment(java.lang.String name,
                      java.io.InputStream inputStream)

FileAttachment

public FileAttachment(java.lang.String name,
                      java.io.InputStream inputStream,
                      java.lang.String encoding)
Method Detail

getFile

public java.lang.String getFile()

setFile

public void setFile(java.lang.String value)

getInputStream

public java.io.InputStream getInputStream()

setInputStream

public void setInputStream(java.io.InputStream value)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String value)

IP*Works! V9

Copyright (c) 2013 /n software inc. - All rights reserved.