public static String streamIdFromName(String name){
  Objects.requireNonNull(name,"name");
  if (!name.startsWith(ID_PREFIX))   return null;
  return name.substring(ID_PREFIX.length());
}

public static String streamIdFromName ( String name ) { Objects . requireNonNull ( name , "name" ) ; if ( ! name . startsWith ( ID_PREFIX ) ) return null ; return name . substring ( ID_PREFIX . length ( ) ) ; }
extract the streamid from the name .
