Class PatchStreamUtil
- java.lang.Object
-
- jetbrains.buildServer.vcs.patches.PatchStreamUtil
-
public class PatchStreamUtil extends Object
Created by Eugene Petrenko (eugene.petrenko@gmail.com) Date: 14.11.12 0:32
-
-
Constructor Summary
Constructors Constructor Description PatchStreamUtil()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close(Closeable c)
static void
skip(InputStream input, long size)
static void
writeBinary(InputStream input, long length, OutputStream output)
-
-
-
Method Detail
-
close
public void close(@Nullable Closeable c)
-
skip
public static void skip(@NotNull InputStream input, long size) throws IOException
- Throws:
IOException
-
writeBinary
public static void writeBinary(@NotNull InputStream input, long length, @NotNull OutputStream output) throws IOException
- Throws:
IOException
-
-