Interface PartParser<T extends io.a2a.spec.Part<?>>
- All Known Implementing Classes:
DataPartParser,FilePartParser,TextPartParser
public interface PartParser<T extends io.a2a.spec.Part<?>>
Part parser interface, used to parse Part and convert to
ContentBlock.-
Method Summary
-
Method Details
-
parse
Parse the given part and convert it to a ContentBlock.- Parameters:
part- the part to parse, not null- Returns:
- the parsed content block
-