org.openqa.selenium.server
Class ModifiedIO
java.lang.Object
org.openqa.selenium.server.ModifiedIO
public class ModifiedIO
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModifiedIO
public ModifiedIO()
copy
public static long copy(InputStream in,
OutputStream out)
throws IOException
- Copy Stream in to Stream out until EOF or exception.
- Throws:
IOException
copy
public static long copy(Reader in,
Writer out)
throws IOException
- Throws:
IOException
copy
public static long copy(InputStream in,
OutputStream out,
long byteCount)
throws IOException
- Copy Stream in to Stream for byteCount bytes or until EOF or exception.
- Returns:
- Copied bytes count or -1 if no bytes were read *and* EOF was reached
- Throws:
IOException
copy
public static long copy(Reader in,
Writer out,
long byteCount)
throws IOException
- Copy Reader to Writer for byteCount bytes or until EOF or exception.
- Throws:
IOException
Copyright © 2012. All Rights Reserved.