public abstract class AbstractContent extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
CRLF |
| Constructor and Description |
|---|
AbstractContent() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addContent(URLConnection con) |
protected byte[] |
ascii(String string) |
protected String |
enc(String aString) |
abstract void |
writeContent(OutputStream os) |
abstract void |
writeHeader(OutputStream os) |
protected abstract void addContent(URLConnection con) throws IOException
IOExceptionprotected byte[] ascii(String string)
public abstract void writeContent(OutputStream os) throws IOException
IOExceptionpublic abstract void writeHeader(OutputStream os) throws IOException
IOException