com.basho.riak.client.util
Class OneTokenInputStream
java.lang.Object
java.io.InputStream
com.basho.riak.client.util.OneTokenInputStream
- All Implemented Interfaces:
- Closeable
Deprecated. with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.util.OneTokenInputStream
instead.
WARNING: This class will be REMOVED in the next version.
@Deprecated
public class OneTokenInputStream
- extends InputStream
A wrapper that reads a single element an underlying InputStream
containing contains a delimited list
- Author:
- jlee
- See Also:
OneTokenInputStream
Method Summary |
void |
close()
Deprecated. |
boolean |
done()
Deprecated. |
int |
read()
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OneTokenInputStream
public OneTokenInputStream(InputStream in,
String delimiter)
- Deprecated.
read
public int read()
throws IOException
- Deprecated.
- Specified by:
read
in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Deprecated.
- Specified by:
close
in interface Closeable
- Overrides:
close
in class InputStream
- Throws:
IOException
done
public boolean done()
- Deprecated.
Copyright © 2012. All Rights Reserved.