Class StreamUtil
java.lang.Object
com.symphony.bdk.core.service.stream.util.StreamUtil
Deprecated.
Helper class providing Base64 id conversion. Preserved to avoid breaking changes for external users of this class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
fromUrlSafeStreamId
(String streamId) Deprecated.UseIdUtil.fromUrlSafeId(String)
instead.static String
toUrlSafeStreamId
(String streamId) Deprecated.UseIdUtil.toUrlSafeId(String)
instead.
-
Constructor Details
-
StreamUtil
public StreamUtil()Deprecated.
-
-
Method Details
-
toUrlSafeStreamId
Deprecated.UseIdUtil.toUrlSafeId(String)
instead.Convert the stream id to the corresponding URL-safe encoded stream id.Example of usage:
String urlSafeStreamId = StreamUtil.toUrlSafeStreamId("XlU3OH9eVMzq+yss7M/xyn///oxwgbtGbQ==");
- Parameters:
streamId
- of the stream to be parsed- Returns:
- stream id after conversion
-
fromUrlSafeStreamId
Deprecated.UseIdUtil.fromUrlSafeId(String)
instead.Convert the URL-safe encoded stream id to the corresponding original stream id.Example of usage:
String streamId = StreamUtil.fromUrlSafeStreamId("XlU3OH9eVMzq-yss7M_xyn___oxwgbtGbQ");
- Parameters:
streamId
- of the stream to be parsed- Returns:
- stream id after conversion
-
IdUtil
instead.