public class DefaultBufferedReaderFactory extends java.lang.Object implements BufferedReaderFactory
| Constructor and Description |
|---|
DefaultBufferedReaderFactory() |
| Modifier and Type | Method and Description |
|---|---|
java.io.BufferedReader |
create(org.springframework.core.io.Resource resource,
java.lang.String encoding)
Create a
BufferedReader for reading String items from the
provided resource. |
public java.io.BufferedReader create(org.springframework.core.io.Resource resource,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException,
java.io.IOException
BufferedReaderFactoryBufferedReader for reading String items from the
provided resource.create in interface BufferedReaderFactoryresource - a Resource containing the data to be readencoding - the encoding required for converting binary data to
StringBufferedReaderjava.io.UnsupportedEncodingException - if the encoding is not supported by
the platformjava.io.IOException - if there is a problem creating the reader