public class DefaultBufferedReaderFactory extends Object implements BufferedReaderFactory
| Constructor and Description |
|---|
DefaultBufferedReaderFactory() |
| 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. |
public BufferedReader create(org.springframework.core.io.Resource resource, String encoding) throws UnsupportedEncodingException, 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
StringBufferedReaderUnsupportedEncodingException - if the encoding is not supported by
the platformIOException - if there is a problem creating the readerCopyright © 2014 Pivotal. All rights reserved.