@Service public class StringDataProvider extends Object implements DataProvider
| Constructor and Description |
|---|
StringDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Class clazz) |
Object |
toInstance(InputStream stream,
Class clazz) |
void |
writeToStream(Object o,
OutputStream stream) |
public boolean accept(Class clazz)
accept in interface DataProviderpublic void writeToStream(Object o, OutputStream stream) throws IOException
writeToStream in interface DataProviderIOExceptionpublic Object toInstance(InputStream stream, Class clazz) throws IOException
toInstance in interface DataProviderIOExceptionCopyright © 2017–2020 Eclipse Foundation. All rights reserved.