|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Nested Class Summary | |
static class |
MediaserverBlock.AbstractBlock
|
static class |
MediaserverBlock.ByteArrayBlock
|
static class |
MediaserverBlock.FileBlock
|
Method Summary | |
byte[] |
getBytes()
|
java.lang.String |
getContentType()
Get the MIME Content-Type. |
java.util.Map |
getHeader()
Get the header as a Map, in the format returned by HeaderUtil.readHeader() . |
Mediaserver.Id |
getId()
Get the ID of this block. |
java.io.InputStream |
getInputStream()
Get an input stream for reading the body of this block. |
java.lang.String |
getPoolName()
Get the name of the pool that this block came from. |
byte[] |
getRaw()
|
java.lang.String |
getRawHeader()
Get the raw header as a string. |
java.io.InputStream |
getRawInputStream()
Get an input stream for reading the whole raw data in this block. |
Method Detail |
public Mediaserver.Id getId()
public java.lang.String getContentType() throws java.io.IOException
java.io.IOException
public java.util.Map getHeader() throws java.io.IOException
HeaderUtil.readHeader()
.
java.io.IOException
public java.lang.String getRawHeader() throws java.io.IOException
java.io.IOException
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public java.io.InputStream getRawInputStream() throws java.io.IOException
java.io.IOException
public java.lang.String getPoolName()
public byte[] getBytes() throws java.io.IOException
java.io.IOException
public byte[] getRaw() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |