public interface DocumentSource
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
String |
getDocumentURI() |
boolean |
isLocal()
A value of false indicates that the document
resides remotely, and that multiple successive accesses
to it should be avoided by copying it to local storage.
|
InputStream |
openInputStream()
Returns the input stream for accessing the content of the document.
|
InputStream openInputStream() throws IOException
null input stream for accessing document data.IOExceptionString getContentType()
long getContentLength()
String getDocumentURI()
boolean isLocal()
openInputStream().Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.