@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 DataProvider
public void writeToStream(Object o, OutputStream stream) throws IOException
writeToStream
in interface DataProvider
IOException
public Object toInstance(InputStream stream, Class clazz) throws IOException
toInstance
in interface DataProvider
IOException
Copyright © 2020. All rights reserved.