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
IOException
protected byte[] ascii(String string)
public abstract void writeContent(OutputStream os) throws IOException
IOException
public abstract void writeHeader(OutputStream os) throws IOException
IOException