|
Esri Geoportal Server 1.2.2
|
||||||||
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 uploaddeleteAfterUpload
- 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 namefileName
- file name to store bytesbytes
- bytes to upload
IOException
- if writing fails
|
Esri Geoportal Server 1.2.2
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |