Interface ClusterIdFileParser<T>

All Known Implementing Classes:
ActiveClusterSuffix.Parser, ClusterId.Parser

@Private public interface ClusterIdFileParser<T>
Generic parser interface for Cluster Id files.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get default file name of cluster id file.
    parseFrom(byte[] bytes)
    Parse cluster id data from byte representation.
    Parser cluster id data from String representation.
  • Method Details

    • getFileName

      Get default file name of cluster id file.
    • parseFrom

      T parseFrom(byte[] bytes) throws DeserializationException
      Parse cluster id data from byte representation.
      Parameters:
      bytes - the protobuf data
      Returns:
      the cluster id data object
      Throws:
      DeserializationException
    • readString

      Parser cluster id data from String representation.
      Parameters:
      input - the input string
      Returns:
      the cluster id data object