org.opengion.hayabusa.servlet.multipart
クラス FilePart
java.lang.Object
org.opengion.hayabusa.servlet.multipart.Part
org.opengion.hayabusa.servlet.multipart.FilePart
public class FilePart
- extends Part
ファイルアップロード時のマルチパート処理のファイルパート部品です。
ファイル情報を取り扱います。
- 機能階層
- その他機能
- バージョン
- 4.0
- 作成者
- Kazuhiko Hasegawa
- 導入されたバージョン:
- JDK5.0,
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilePart
FilePart(String name,
ServletInputStream in,
String boundary,
String contentType,
String filename,
String filePath)
throws IOException
- 例外:
IOException
getFilename
public String getFilename()
setFilename
public void setFilename(String fname)
getFilePath
public String getFilePath()
getContentType
public String getContentType()
getInputStream
public InputStream getInputStream()
writeTo
public long writeTo(File fileOrDirectory)
throws IOException
- 例外:
IOException
write
long write(OutputStream out)
throws IOException
- 例外:
IOException
isFile
public boolean isFile()
- オーバーライド:
- クラス
Part
内の isFile
Webアプリケーションフレームワーク openGion
Copyright (c) 2009 The openGion Project.