Package org.xwiki.filter.input
Class StringInputSource
- java.lang.Object
-
- org.xwiki.filter.input.AbstractReaderInputSource
-
- org.xwiki.filter.input.StringInputSource
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,InputSource
,ReaderInputSource
public class StringInputSource extends AbstractReaderInputSource
- Since:
- 6.2M1
- Version:
- $Id: 3c08ab8fabbad61ca1d1990a7663225356a387c4 $
-
-
Constructor Summary
Constructors Constructor Description StringInputSource(String source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSource()
protected Reader
openReader()
String
toString()
-
Methods inherited from class org.xwiki.filter.input.AbstractReaderInputSource
close, getReader, restartSupported
-
-
-
-
Constructor Detail
-
StringInputSource
public StringInputSource(String source)
- Parameters:
source
- the source data
-
-
Method Detail
-
openReader
protected Reader openReader()
- Specified by:
openReader
in classAbstractReaderInputSource
-
getSource
public String getSource()
- Returns:
- the source data
- Since:
- 13.4
-
-