public static String generateTimecodeStartAddress(){
  String delimiter=":";
  String timeCodeStartAddress="00:00:00:00";
  if (timeCodeStartAddress.matches("[0-2][0-9](:|/|;|,|\\.|\\+|\\-)[0-5][0-9](:|/|;|,|\\.|\\+|\\-)[0-5][0-9](:|/|;|,|\\.|\\+|\\-)[0-5][0-9]")) {
    return timeCodeStartAddress;
  }
 else {
    throw new IMFException(String.format("Could not generate a valid TimecodeStartAddress based on input " + "received"));
  }
}

public static String generateTimecodeStartAddress ( ) { String delimiter = ":" ; String timeCodeStartAddress = "00:00:00:00" ; if ( timeCodeStartAddress . matches ( "[0-2][0-9](:|/|;|,|\\.|\\+|\\-)[0-5][0-9](:|/|;|,|\\.|\\+|\\-)[0-5][0-9](:|/|;|,|\\.|\\+|\\-)[0-5][0-9]" ) ) { return timeCodeStartAddress ; } else { throw new IMFException ( String . format ( "Could not generate a valid TimecodeStartAddress based on input " + "received" ) ) ; } }
a method that generates a cpl schema valid timecodestartaddress string
