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
URISyntaxException
public InputStream openInputStream() throws IOException
openInputStream
in interface DocumentSource
IOException
public long getContentLength()
getContentLength
in interface DocumentSource
public String getDocumentURI()
getDocumentURI
in interface DocumentSource
public String getContentType()
getContentType
in interface DocumentSource
public boolean isLocal()
isLocal
in interface DocumentSource
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.