Class Network
java.lang.Object
org.irods.irods4j.low_level.network.Network
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidreadBytes(InputStream in, byte[] buffer, int size) static byte[]readBytes(InputStream in, int size) static MsgHeader_PIstatic <T> TreadObject(InputStream in, int size, Class<T> clazz) static voidwrite(OutputStream out, MsgHeader_PI msgHeader) static voidwriteBytes(OutputStream out, byte[] bytes) static voidwriteBytes(OutputStream out, byte[] bytes, int count) static <T> voidwriteJson(OutputStream out, T object) static <T> voidwriteXml(OutputStream out, T object)
-
Constructor Details
-
Network
public Network()
-
-
Method Details
-
write
- Throws:
IOException
-
writeXml
- Throws:
IOException
-
writeJson
- Throws:
IOException
-
readMsgHeader_PI
- Throws:
IOException
-
readObject
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
readBytes
- Throws:
IOException
-
writeBytes
- Throws:
IOException
-
writeBytes
- Throws:
IOException
-