Skip to content
Snippets Groups Projects
Commit e03b1e27 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- updated new class name

parent 13c8a1d3
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ import java.util.Map; ...@@ -36,7 +36,7 @@ import java.util.Map;
* @author andreas.romeyke@slub-dresden.de (Andreas Romeyke) * @author andreas.romeyke@slub-dresden.de (Andreas Romeyke)
* @see com.exlibris.dps.sdk.techmd.FormatValidationPlugin * @see com.exlibris.dps.sdk.techmd.FormatValidationPlugin
*/ */
public class SLUBTechnicalMetadataExtractorMediaConchPlugin implements FormatValidationPlugin { public class SLUBMatroskaFFV1FormatValidationPlugin implements FormatValidationPlugin {
private String mediaconch_binary_path; private String mediaconch_binary_path;
private String mediaconch_current_profile_path; private String mediaconch_current_profile_path;
private String mediaconch_upcoming_profile_path; private String mediaconch_upcoming_profile_path;
...@@ -49,7 +49,7 @@ public class SLUBTechnicalMetadataExtractorMediaConchPlugin implements FormatVal ...@@ -49,7 +49,7 @@ public class SLUBTechnicalMetadataExtractorMediaConchPlugin implements FormatVal
private boolean isDifferentProfile = true; private boolean isDifferentProfile = true;
/** constructor */ /** constructor */
public SLUBTechnicalMetadataExtractorMediaConchPlugin() { public SLUBMatroskaFFV1FormatValidationPlugin() {
//log.info("SLUBVirusCheckPlugin instantiated with host=" + host + " port=" + port + " timeout=" + timeout); //log.info("SLUBVirusCheckPlugin instantiated with host=" + host + " port=" + port + " timeout=" + timeout);
System.out.println("SLUBTechnicalMetadataExtractorMediaConchPlugin instantiated"); System.out.println("SLUBTechnicalMetadataExtractorMediaConchPlugin instantiated");
} }
...@@ -239,7 +239,7 @@ public class SLUBTechnicalMetadataExtractorMediaConchPlugin implements FormatVal ...@@ -239,7 +239,7 @@ public class SLUBTechnicalMetadataExtractorMediaConchPlugin implements FormatVal
* @param args list of files which should be scanned * @param args list of files which should be scanned
*/ */
public static void main(String[] args) { public static void main(String[] args) {
SLUBTechnicalMetadataExtractorMediaConchPlugin plugin = new SLUBTechnicalMetadataExtractorMediaConchPlugin(); SLUBMatroskaFFV1FormatValidationPlugin plugin = new SLUBMatroskaFFV1FormatValidationPlugin();
Map<String, String> initp = new HashMap<>(); Map<String, String> initp = new HashMap<>();
initp.put( "mediaconch_binary_path", "/usr/bin/mediaconch"); initp.put( "mediaconch_binary_path", "/usr/bin/mediaconch");
initp.put( "mediaconch_current_profile_path", "/etc/mediaconch/profile.xml"); initp.put( "mediaconch_current_profile_path", "/etc/mediaconch/profile.xml");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment