|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.util.NioUtil
public final class NioUtil
| Method Summary | |
|---|---|
static boolean |
checkAccess(java.io.File file)
check if the file can be read |
static void |
copyStreamToFile(java.io.InputStream is,
java.io.File aFile)
Transfer bytes blocks using direct buffer memory allocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final void copyStreamToFile(java.io.InputStream is,
java.io.File aFile)
throws java.io.IOException
is - the InputStream to copyaFile - the output File
java.io.IOException - if errors occuredpublic static final boolean checkAccess(java.io.File file)
file -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||