FileCopyUtils

FileCopyUtils

 

public static final int BUFFER_SIZE = 4096;

 

#public static int copy(File in, File out) throws IOException 

#public static void copy(byte[] in, File out) throws IOException 

#public static byte[] copyToByteArray(File in) throws IOException

#public static int copy(InputStream in, OutputStream out) throws IOException

#public static void copy(byte[] in, OutputStream out) throws IOException 

#public static byte[] copyToByteArray(@Nullable InputStream in) throws IOException

#public static int copy(Reader in, Writer out) throws IOException 

#public static void copy(String in, Writer out) throws IOException 

#public static String copyToString(@Nullable Reader in) throws IOException 

 

posted on 2021-10-21 09:36  icodegarden  阅读(213)  评论(0编辑  收藏  举报