Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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)