Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-719

Add methods to get the contents of file objects as strings

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Labels:
      None

      Description

      Add methods to get the contents of file objects as strings as I keep on coding the same patterns in different projects:

      • org.apache.commons.vfs2.FileContent.getString(Charset)
      • org.apache.commons.vfs2.FileContent.getString(String)
      • org.apache.commons.vfs2.util.FileObjectUtils.getContentAsString(FileObject, Charset)
      • org.apache.commons.vfs2.util.FileObjectUtils.getContentAsString(FileObject, String)

        Attachments

          Activity

            People

            • Assignee:
              ggregory Gary Gregory
              Reporter:
              ggregory Gary Gregory
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: