com.ozacc.mail
クラス MultipartMail.AttachmentFile

java.lang.Object
  拡張com.ozacc.mail.MultipartMail.AttachmentFile
含まれているクラス:
MultipartMail

public static class MultipartMail.AttachmentFile
extends Object

添付ファイル。

バージョン:
$Id: MultipartMail.java,v 1.3 2004/09/16 04:52:56 otsuka Exp $
作成者:
Tomohiro Otsuka

コンストラクタの概要
MultipartMail.AttachmentFile(String name, File file)
          ファイル名とファイルを指定して、このクラスのインタンスを生成します。
 
メソッドの概要
 File getFile()
           
 String getName()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MultipartMail.AttachmentFile

public MultipartMail.AttachmentFile(String name,
                                    File file)
ファイル名とファイルを指定して、このクラスのインタンスを生成します。

パラメータ:
name - メールに表示するファイル名
file - 添付ファイル
メソッドの詳細

getFile

public File getFile()
戻り値:
Returns the file.

getName

public String getName()
戻り値:
Returns the name.


Copyright © 2004 OZACC. All Rights Reserved.