#NEWLINE# def fromString( cls , string ) : #NEWLINE# #INDENT# '\n        Parse a plain-text entry in a known_hosts file, and return a\n        corresponding L{PlainEntry}.\n\n        @param string: a space-separated string formatted like "hostname\n        key-type base64-key-data comment".\n\n        @type string: L{str}\n\n        @raise DecodeError: if the key is not valid encoded as valid base64.\n\n        @raise InvalidEntry: if the entry does not have the right number of\n        elements and is therefore invalid.\n\n        @raise BadKeyError: if the key, once decoded from base64, is not\n        actually an SSH key.\n\n        @return: an IKnownHostEntry representing the hostname and key in the\n        input line.\n\n        @rtype: L{PlainEntry}\n        ' #NEWLINE# ( hostnames , keyType , key , comment ) = _extractCommon ( string ) #NEWLINE# self = cls ( hostnames . split ( ',' ) , keyType , key , comment ) #NEWLINE# return self