Customize end of input in cli

Hi,
We are using confd 7.2.1. There is a cli which takes inline multiline string as input. It is terminated with ctrl D. I noticed in the file Maapi.java that it looks for specific ctrl D:
maapi.CLIReadEOF(sessionId, true);
Is there any way to customize CLIReadEOF characters or string token provided by user as termination of multiline input? Thanks.