Class Overview
This class provides common file copying code
Summary
Nested Classes |
class |
FileCopier.IoInputException |
|
class |
FileCopier.IoOutputException |
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Methods
public
static
void
copyStreams
(InputStream inputStream, OutputStream outputStream)
Copies one stream to another. In case you don't need to differentiate between read and write exceptions,
always use IOUtils.copy(). Note that IOUtils does not close the outputStream, this method does.
Parameters
inputStream
| input stream to copy from |
outputStream
| output stream to copy to |