MpegTsInputTransformer implements InputTransformer { public void setSecurityClassificationCode1(String classification) { notNull(classification, CLASSIFICATION_MUST_BE_NON_NULL); klvProcessor.accept(new SetSecurityClassificationString((short) 1, classification)); } MpegTsInputTransformer(
      InputTransformer inputTransformer,
      List<MetacardType> metacardTypes,
      Stanag4609Processor stanag4609Processor,
      KlvHandlerFactory klvHandlerFactory,
      KlvHandler defaultKlvHandler,
      StanagParserFactory stanagParserFactory,
      KlvProcessor klvProcessor,
      Double distanceTolerance); @SuppressWarnings("unused") void setSubsampleCount(Integer subsampleCount); void setDistanceTolerance(Double distanceTolerance); Double getDistanceTolerance(); @Override Metacard transform(InputStream inputStream); void setSecurityClassificationCode1(String classification); void setSecurityClassificationCode2(String classification); void setSecurityClassificationCode3(String classification); void setSecurityClassificationCode4(String classification); void setSecurityClassificationCode5(String classification); void setSecurityClassificationDefault(String classification); @Override Metacard transform(InputStream inputStream, final String id); static final String CONTENT_TYPE; static final String DATA_TYPE; }
@Test public void testSetSecurityClassificationCode1() { assertSecurityClassificationCode( mpegTsInputTransformer -> mpegTsInputTransformer.setSecurityClassificationCode1(CLASSIFICATION), (short) 1); }