Package com.symphony.api.bindings
Class StreamIDHelp
- java.lang.Object
-
- com.symphony.api.bindings.StreamIDHelp
-
- All Implemented Interfaces:
ApiWrapper
public class StreamIDHelp extends Object implements ApiWrapper
Converts non-safe stream IDs into URL-safe ones for transmitting on URLs.- Author:
- Rob Moffat
-
-
Constructor Summary
Constructors Constructor Description StreamIDHelp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
safeStreamId(String in)
<X> X
wrap(Class<X> c, X api)
Returns a wrapped implementation of the interface.
-
-
-
Method Detail
-
wrap
public <X> X wrap(Class<X> c, X api)
Description copied from interface:ApiWrapper
Returns a wrapped implementation of the interface.- Specified by:
wrap
in interfaceApiWrapper
- Parameters:
c
- interface class.api
- instance of the interface- Returns:
- wrapped instance.
-
-