Class URLContent
java.lang.Object
io.nosqlbench.nb.api.nbio.URLContent
- All Implemented Interfaces:
Content<URL>,Comparable<Content<?>>,Supplier<CharSequence>
StreamContent is meant for short-lived use as an efficient way to
find a read URL content. If a caller has already acquired an
input stream, it can be passed to the stream content holder
to avoid double fetch or other unintuitive and inefficient
behavior.
-
Constructor Details
-
URLContent
-
-
Method Details
-
getLocation
- Specified by:
getLocationin interfaceContent<URL>
-
getURI
-
equals
-
hashCode
-
getCharBuffer
- Specified by:
getCharBufferin interfaceContent<URL>
-
asPath
-
toString
-