|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.rssowl.util.shop.SimpleFileShop
SimpleFileShop defines methods to copy a file into another
| Field Summary | |
static int |
OP_ABORTED
FileShop constant: Operation was aborted |
static int |
OP_FAILED
FileShop constant: Operation failed |
static int |
OP_SUCCESSFULL
FileShop constant: Operation was successfull |
| Constructor Summary | |
protected |
SimpleFileShop()
This utility class constructor is protected |
| Method Summary | |
static void |
copy(InputStream fis,
OutputStream fos)
Copy one file to another |
static void |
copy(String src,
String dest)
Copy one file to another |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int OP_ABORTED
public static final int OP_FAILED
public static final int OP_SUCCESSFULL
| Constructor Detail |
protected SimpleFileShop()
| Method Detail |
public static void copy(InputStream fis,
OutputStream fos)
fis - The source streamfos - The destination stream
public static void copy(String src,
String dest)
throws IOException
src - The path of the sourcefiledest - The path of the destinationfile
IOException - In case of an IO Error
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||