Package io.confluent.csid.utils
Class BackportUtils
java.lang.Object
io.confluent.csid.utils.BackportUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic byte[]readFully(InputStream is) static byte[]readFully(InputStream is, int length, boolean readAll) Used in Java 8 environments (Java 9 has read all bytes)static long
-
Constructor Details
-
BackportUtils
public BackportUtils()
-
-
Method Details
-
toSeconds
- See Also:
-
isEmpty
- See Also:
-
readFully
- Throws:
IOException
-
readFully
Used in Java 8 environments (Java 9 has read all bytes)https://stackoverflow.com/a/25892791/105741
- Throws:
IOException
-