public interface BufferedReaderFactory
BufferedReader
allowing
customisation of the standard behaviour of the java.io
variety.Modifier and Type | Method and Description |
---|---|
BufferedReader |
create(org.springframework.core.io.Resource resource,
String encoding)
Create a
BufferedReader for reading String items from the
provided resource. |
BufferedReader create(org.springframework.core.io.Resource resource, String encoding) throws UnsupportedEncodingException, IOException
BufferedReader
for reading String items from the
provided resource.resource
- a Resource
containing the data to be readencoding
- the encoding required for converting binary data to
StringBufferedReader
UnsupportedEncodingException
- if the encoding is not supported by
the platformIOException
- if there is a problem creating the readerCopyright © 2014 Pivotal. All rights reserved.