public class HTTPDocumentSource extends Object implements DocumentSource
DocumentSource.| Constructor and Description |
|---|
HTTPDocumentSource(HTTPClient client,
String uri) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
String |
getDocumentURI() |
boolean |
isLocal() |
InputStream |
openInputStream() |
public HTTPDocumentSource(HTTPClient client, String uri) throws URISyntaxException
URISyntaxExceptionpublic InputStream openInputStream() throws IOException
openInputStream in interface DocumentSourceIOExceptionpublic long getContentLength()
getContentLength in interface DocumentSourcepublic String getDocumentURI()
getDocumentURI in interface DocumentSourcepublic String getContentType()
getContentType in interface DocumentSourcepublic boolean isLocal()
isLocal in interface DocumentSourceCopyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.