net.java.sip.communicator.impl.protocol.sip.xcap.utils
Class StreamUtils
java.lang.Object
net.java.sip.communicator.impl.protocol.sip.xcap.utils.StreamUtils
public class StreamUtils
- extends Object
Base HTTP XCAP client implementation.
Compliant with rfc4825
- Author:
- Grigorii Balutsel
|
Method Summary |
static byte[] |
read(InputStream source)
Reads content from the stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
read
public static byte[] read(InputStream source)
throws IOException
- Reads content from the stream.
- Parameters:
source - the input stream.
- Returns:
- the content.
- Throws:
IOException - if there is some error during read
operation.
IllegalArgumentException - if source is null.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.