Interface StringMemoryFile

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String asString()
      Converts the contents of the file to which this object is bound to a String using the default character encoding.
      java.lang.String asString​(java.lang.String enc)
      Converts the contents of the file to which this object is bound to a String using the specified character encoding.
    • Method Detail

      • asString

        java.lang.String asString()
                           throws java.io.IOException
        Converts the contents of the file to which this object is bound to a String using the default character encoding.
        Throws:
        java.io.IOException
      • asString

        java.lang.String asString​(java.lang.String enc)
                           throws java.io.IOException,
                                  java.io.UnsupportedEncodingException
        Converts the contents of the file to which this object is bound to a String using the specified character encoding.
        Throws:
        java.io.IOException
        java.io.UnsupportedEncodingException