|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartWriter
Single part writer.
Method Summary | |
---|---|
void |
write(String name,
byte[] bytes,
String fileName,
String contentType,
String charset)
Uploads bytes. |
void |
write(String name,
File file,
String fileName,
String contentType,
String charset,
boolean deleteAfterUpload)
Uploads a file. |
void |
write(String name,
String value)
Write ordinary attribute. |
Method Detail |
---|
void write(String name, String value) throws IOException
name
- part name.value
- part value
IOException
- if writing failsvoid write(String name, File file, String fileName, String contentType, String charset, boolean deleteAfterUpload) throws IOException
name
- part namefile
- file to uploadfileName
- disposition file namecontentType
- content typecharset
- character setdeleteAfterUpload
- true
to delete file after upload
IOException
- if writing failsvoid write(String name, byte[] bytes, String fileName, String contentType, String charset) throws IOException
name
- part namebytes
- bytes to uploadfileName
- disposition file namecontentType
- content typecharset
- character set
IOException
- if writing fails
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |