java命名空间javax.imageio类imagewriter的类成员方法:
endinsertempty定义及介绍
本文导语:
endinsertempty
public void endinsertempty()
throws ioexception
完成对新图像的插入,该操作是从以前调用 prepareinsertempty 开始的。
如果输出为 null,则默认实现抛出 illegalstateexception,否则抛出 unsupportedoperationexception。
...
endinsertempty
public void endinsertempty()
throws ioexception
- 完成对新图像的插入,该操作是从以前调用
prepareinsertempty 开始的。
如果输出为 null,则默认实现抛出 illegalstateexception,否则抛出 unsupportedoperationexception。
- 抛出:
illegalstateexception - 如果尚未设置输出。
unsupportedoperationexception - 如果 caninsertempty(imageindex) 返回 false。
illegalstateexception - 如果以前已经调用 prepareinsertempty,但没有相应地调用 endinsertempty。
illegalstateexception - 如果以前已经调用 preparewriteempty,但没有相应地调用 endwriteempty。
illegalstateexception - 如果以前已经调用 preparereplacepixels,但没有相应地调用 endreplacepixels。
ioexception - 如果在写入期间发生 i/o 错误。