public DocumenttypesConfig build() { return new DocumenttypesConfig(this); }
public Builder(DocumenttypesConfig config) { enablecompression(config.enablecompression()); for (Documenttype d : config.documenttype()) { documenttype(new Documenttype.Builder(d)); } }
public static void exportDocuments(DocumenttypesConfig.Builder documentTypesCfg, String toDirectory) throws IOException { exportCfg(new DocumenttypesConfig(documentTypesCfg), toDirectory + "/" + "documenttypes.cfg"); }