org.sbml.jsbml.validator
class MultipartPost extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
boundary |
(package private) java.net.URLConnection |
connection |
(package private) java.io.OutputStream |
stream |
Constructor and Description |
---|
MultipartPost(java.lang.String url) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
copy(java.io.InputStream source,
java.io.OutputStream destination) |
java.io.InputStream |
done() |
(package private) void |
write(char c) |
(package private) void |
write(java.lang.String s) |
(package private) void |
writeln() |
(package private) void |
writeln(java.lang.String s) |
void |
writeParameter(java.lang.String name,
java.io.File file) |
void |
writeParameter(java.lang.String name,
java.lang.String value) |
java.net.URLConnection connection
java.io.OutputStream stream
java.lang.String boundary
public MultipartPost(java.lang.String url) throws java.io.IOException
java.io.IOException
public java.io.InputStream done() throws java.io.IOException
java.io.IOException
public void writeParameter(java.lang.String name, java.lang.String value) throws java.io.IOException
java.io.IOException
public void writeParameter(java.lang.String name, java.io.File file) throws java.io.IOException
java.io.IOException
void copy(java.io.InputStream source, java.io.OutputStream destination) throws java.io.IOException
java.io.IOException
void writeln(java.lang.String s) throws java.io.IOException
java.io.IOException
void writeln() throws java.io.IOException
java.io.IOException
void write(char c) throws java.io.IOException
java.io.IOException
void write(java.lang.String s) throws java.io.IOException
java.io.IOException