org.makumba.commons
Class LongData
java.lang.Object
org.makumba.commons.LongData
public class LongData
- extends Object
This class accumulates a stream of data, and if it gets long, it automatically saves it in a file
- Author:
- Cristian Bogdan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
length
int length
ds
LongData.LongDataStrategy ds
LongData
public LongData()
LongData
public LongData(InputStream is)
throws IOException
- Throws:
IOException
appendFrom
public void appendFrom(Reader r)
throws IOException
- Throws:
IOException
appendFrom
public void appendFrom(InputStream i)
throws IOException
- Throws:
IOException
getLength
public int getLength()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException