Package org.javarosa.core.util
Class StreamsUtil
java.lang.Object
org.javarosa.core.util.StreamsUtil
@Deprecated public class StreamsUtil extends Object
Deprecated.
Warning: This class is unused and should remain that way. It will be removed in a future release.
-
Method Summary
Modifier and Type Method Description static byte[]readFromStream(InputStream in, int len)Deprecated.static voidwriteFromInputToOutput(InputStream in, OutputStream out)Deprecated.static voidwriteFromInputToOutput(InputStream in, OutputStream out, long[] tally)Deprecated.static voidwriteToOutput(byte[] bytes, OutputStream out)Deprecated.static voidwriteToOutput(byte[] bytes, OutputStream out, long[] tally)Deprecated.
-
Method Details
-
writeFromInputToOutput
@Deprecated public static void writeFromInputToOutput(InputStream in, OutputStream out, long[] tally) throws IOExceptionDeprecated.Write everything from input stream to output stream, byte by byte then close the streams- Throws:
IOException
-
writeFromInputToOutput
@Deprecated public static void writeFromInputToOutput(InputStream in, OutputStream out) throws IOExceptionDeprecated.- Throws:
IOException
-
writeToOutput
@Deprecated public static void writeToOutput(byte[] bytes, OutputStream out, long[] tally) throws IOExceptionDeprecated.Write the byte array to the output stream- Throws:
IOException
-
writeToOutput
Deprecated.- Throws:
IOException
-
readFromStream
Deprecated.Read bytes from an input stream into a byte array then close the input stream- Throws:
IOException
-