public final class NioUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
checkAccess(File file)
check if the file can be read
|
static void |
copyStreamToFile(InputStream is,
File aFile)
Transfer bytes blocks using direct buffer memory allocation.
|
public static final void copyStreamToFile(InputStream is, File aFile) throws IOException
is
- the InputStream
to copyaFile
- the output File
IOException
- if errors occuredpublic static final boolean checkAccess(File file)
file
- Copyright © 2005-2016 Linagora. All Rights Reserved.