|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedResource
An extension to BinaryResource interface, which adds the common methods needed by LocalBinaryResource and RemoteBinaryResource, so they can be streamlined.
Method Summary | |
---|---|
void |
getContentIntoAFile(File localfile)
It saves the resource to the local file given as input parameter. |
void |
getContentIntoAStream(OutputStream os)
It saves the resource to the local stream given as input parameter. |
Object |
getExtendedContent()
It returns an object representing the content, in the representation which needs less memory. |
InputStream |
getStreamContent()
It returns an stream to the content, whichever it is its origin |
long |
getStreamLength()
It returns the length of the content, whichever it is its origin |
Method Detail |
---|
Object getExtendedContent() throws XMLDBException
XMLDBException
InputStream getStreamContent() throws XMLDBException
XMLDBException
long getStreamLength() throws XMLDBException
XMLDBException
void getContentIntoAFile(File localfile) throws XMLDBException
XMLDBException
void getContentIntoAStream(OutputStream os) throws XMLDBException
XMLDBException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |