jetbrains.buildServer.vcs.patches
Class PatchStreamUtil

java.lang.Object
  extended by jetbrains.buildServer.vcs.patches.PatchStreamUtil

public class PatchStreamUtil
extends java.lang.Object

Created by Eugene Petrenko (eugene.petrenko@gmail.com) Date: 14.11.12 0:32


Constructor Summary
PatchStreamUtil()
           
 
Method Summary
 void close(java.io.Closeable c)
           
static void skip(java.io.InputStream input, long size)
           
static void writeBinary(java.io.InputStream input, long length, java.io.OutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchStreamUtil

public PatchStreamUtil()
Method Detail

close

public void close(@Nullable
                  java.io.Closeable c)

skip

public static void skip(@NotNull
                        java.io.InputStream input,
                        long size)
                 throws java.io.IOException
Throws:
java.io.IOException

writeBinary

public static void writeBinary(@NotNull
                               java.io.InputStream input,
                               long length,
                               @NotNull
                               java.io.OutputStream output)
                        throws java.io.IOException
Throws:
java.io.IOException