Boris Petrov created VFS-705:
--------------------------------
Summary: Add ability to specify the buffer size of input/output
streams
Key: VFS-705
URL: https://issues.apache.org/jira/browse/VFS-705
Project: Commons VFS
Issue Type: Improvement
Affects Versions: 2.3
Reporter: Boris Petrov
"FileContent.getInputStream"'s documentation specifies that "The input stream
is buffered" which is true (because the implementation in "DefaultFileContent"
wraps it in "FileContentInputStream" which inherits "MonitorInputStream" which
in turn "BufferedInputStream". However, there is no way to configure the buffer
size and sometimes the default one which is just 8 KB might not be a good
choice. Adding an ability to specify a different buffer size will help greatly
boost the performance when talking to slow providers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)