public class PrettyFormatStrategy extends Object implements FormatStrategy
FormatStrategy.IdPayload
Constructor and Description |
---|
PrettyFormatStrategy() |
Modifier and Type | Method and Description |
---|---|
byte[] |
fromConnectData(long globalId,
byte[] bytes) |
PrettyFormatStrategy |
setIdName(String idName) |
PrettyFormatStrategy |
setPayloadName(String payloadName) |
FormatStrategy.IdPayload |
toConnectData(byte[] bytes) |
public PrettyFormatStrategy setIdName(String idName)
public PrettyFormatStrategy setPayloadName(String payloadName)
public byte[] fromConnectData(long globalId, byte[] bytes)
fromConnectData
in interface FormatStrategy
public FormatStrategy.IdPayload toConnectData(byte[] bytes)
toConnectData
in interface FormatStrategy
Copyright © 2020 Red Hat. All rights reserved.