org.apache.jetspeed.util
Class FileCopy
java.lang.Object
org.apache.jetspeed.util.FileCopy
- public class FileCopy
- extends java.lang.Object
Method Summary |
static void |
copy(java.lang.String source,
java.lang.String destination)
|
static void |
copyFromURL(java.lang.String source,
java.lang.String destination)
|
static void |
copyStream(java.io.InputStream input,
java.io.OutputStream output,
byte[] buffer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUFFER_SIZE
public static final int BUFFER_SIZE
- See Also:
- Constant Field Values
FileCopy
public FileCopy()
copy
public static final void copy(java.lang.String source,
java.lang.String destination)
throws java.io.IOException
- Throws:
java.io.IOException
copyFromURL
public static final void copyFromURL(java.lang.String source,
java.lang.String destination)
throws java.io.IOException
- Throws:
java.io.IOException
copyStream
public static final void copyStream(java.io.InputStream input,
java.io.OutputStream output,
byte[] buffer)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.