接口 BufferedReaderFactory

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      java.io.BufferedReadercreate​(org.springframework.core.io.Resource resource, java.lang.String encoding)
      Create a BufferedReader for reading String items from the provided resource.
    • 方法详细资料

      • create

        java.io.BufferedReader create​(org.springframework.core.io.Resource resource,
                                      java.lang.String encoding)
                               throws java.io.UnsupportedEncodingException,
                                      java.io.IOException
        Create a BufferedReader for reading String items from the provided resource.
        参数:
        resource - a Resource containing the data to be read
        encoding - the encoding required for converting binary data to String
        返回:
        a BufferedReader
        抛出:
        java.io.UnsupportedEncodingException - if the encoding is not supported by the platform
        java.io.IOException - if there is a problem creating the reader