private static ArchiveCompressionRule createCompressionRule(
     String cn, Conditions conditions, String tsuid, String... writeParams) {
   ArchiveCompressionRule rule = new ArchiveCompressionRule(cn);
   rule.setConditions(conditions);
   rule.setTransferSyntax(tsuid);
   rule.setImageWriteParams(Property.valueOf(writeParams));
   return rule;
 }
Exemplo n.º 2
0
 @Override
 public String toConfigNode(Property object, ConfigProperty property, SavingContext ctx)
     throws ConfigurationException {
   return object.toString();
 }