java.lang.Object
io.github.mmm.base.uuid.UuidParser
- All Implemented Interfaces:
FromStringParser<UUID>
FromStringParser for UUID.- Since:
- 1.0.0
- See Also:
-
Method Summary
-
Method Details
-
parse
Description copied from interface:FromStringParserParses the givenStringto the type handled by this parser but efficiently returnsnullif the syntax does not match. This allows to detect the format without wasting much performance.- Specified by:
parsein interfaceFromStringParser<UUID>- Parameters:
uuid- theStringto parse. May or may not be in the format expected for the type of this parser.- Returns:
- the given
Stringparsed to the type handled by this parser ornullif the syntax does not match.
-
get
- Returns:
- the singleton instance of this
FromStringParserforUUID.
-