public class AbstractInjectionResource extends AbstractWebResource
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractInjectionResource.StreamEnumeration
Auxiliary enumeration to sequence input streams.
|
Constructor and Description |
---|
AbstractInjectionResource() |
Modifier and Type | Method and Description |
---|---|
protected int |
split(String string,
int start,
String stopPattern)
Returns the index into the supplied string where the end of the
specified pattern is located.
|
protected InputStream |
stream(String string,
int start,
int end)
Produces an input stream from the bytes of the specified sub-string.
|
codec, encodeArray, getService, mapper, newArray, newObject
get, ok
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected int split(String string, int start, String stopPattern)
string
- string to splitstart
- index where to start looking for patternstopPattern
- optional pattern where to stopprotected InputStream stream(String string, int start, int end)
string
- source stringstart
- index where to start streamend
- index where to end stream