public class StringDocumentSource extends Object implements DocumentSource
DocumentSource.| Constructor and Description |
|---|
StringDocumentSource(String in,
String uri) |
StringDocumentSource(String in,
String uri,
String contentType) |
StringDocumentSource(String in,
String uri,
String contentType,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
String |
getContentType() |
String |
getDocumentURI() |
boolean |
isLocal() |
InputStream |
openInputStream() |
public 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.