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 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.