public class PtlEmbeddedFiles
extends java.lang.Object
implements java.lang.AutoCloseable
コンストラクタと説明 |
---|
PtlEmbeddedFiles()
コンストラクタ
|
PtlEmbeddedFiles(PtlEmbeddedFiles obj)
コピーコンストラクタ
alias copy |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
append(PtlEmbeddedFile emfile)
添付ファイルを追加。
|
void |
close()
終了処理。
|
PtlEmbeddedFile |
get(int index)
添付ファイルを取得。
|
int |
getCount()
添付ファイル数を取得。
|
boolean |
isEmpty()
空かどうかを取得。
|
void |
remove(int index)
添付ファイルを削除。
|
void |
removeAll()
添付ファイルの全てを削除。
|
public PtlEmbeddedFiles() throws PtlException
PtlException
- 例外public PtlEmbeddedFiles(PtlEmbeddedFiles obj) throws PtlException
obj
- コピー元オブジェクト。PtlException
- 例外public void close()
このオブジェクトが抱えているネイティブ側にあるリソースなどを廃棄して終了処理を行ないます。
このオブジェクトを使い終わったら必ず呼ばなければなりません。
close
インタフェース内 java.lang.AutoCloseable
public boolean isEmpty() throws PtlException
PtlException
- 例外public int getCount() throws PtlException
PtlException
- 例外public PtlEmbeddedFile get(int index) throws PtlException
index
- Index番号。0が先頭。PtlException
- 例外public void append(PtlEmbeddedFile emfile) throws PtlException
emfile
- 追加する添付ファイル。PtlException
- 例外public void remove(int index) throws PtlException
指定した番号の添付ファイルを削除します。
index
- 削除するIndex番号。0が先頭。PtlException
- 例外public void removeAll() throws PtlException
PtlException
- 例外