Class Id


  • public class Id
    extends Object
    Matrix id (MXID) util class.
    • Constructor Detail

      • Id

        protected Id()
    • Method Detail

      • localPart

        public static Optional<String> localPart​(String id)
        Get localpart of the specified MXID if exists.
        Parameters:
        id - MXID.
        Returns:
        localpart.
      • serverName

        public static Optional<String> serverName​(String id)
        Get server name of the specified MXID if exists.
        Parameters:
        id - MXID.
        Returns:
        server name.