Commons IO
  1. Commons IO
  2. IO-305

New copy() method in IOUtils that takes additional offset, length and buffersize arguments

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: Utilities
    • Labels:
      None

      Description

      /**

      • Copy from input to output stream
      • @param is : input stream
      • @param os : output stream
      • @param offset : number of bytes to skip from input before copying
      • -ve values are ignored
      • @param len : number of bytes to copy. -1 means all
      • @param bufferSize : buffer size to use for copying
      • @throws IOException
        */
        public static void copy( InputStream is, OutputStream os, int offset, int len, int bufferSize) throws IOException
      1. IOUtilsTest.java
        5 kB
        Manoj Mokashi
      2. IOUtils.java
        1 kB
        Manoj Mokashi

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Manoj Mokashi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development