From fbec9bcba735df3b92c5f05b34fd3d733a639fab Mon Sep 17 00:00:00 2001 From: bobhanson Date: Mon, 4 Nov 2024 22:55:18 -0600 Subject: [PATCH] minor changes --- .../extractor/MetadataExtractor.java | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/src/main/java/com/integratedgraphics/extractor/MetadataExtractor.java b/src/main/java/com/integratedgraphics/extractor/MetadataExtractor.java index 072ca475..3445487d 100644 --- a/src/main/java/com/integratedgraphics/extractor/MetadataExtractor.java +++ b/src/main/java/com/integratedgraphics/extractor/MetadataExtractor.java @@ -253,6 +253,11 @@ public ObjectParser next() { */ private FAIRSpecExtractorHelperI helper; + @Override + protected FAIRSpecFindingAidHelperI getHelper() { + return helper; + } + /** * the IFD-extract.json script */ @@ -2825,26 +2830,6 @@ protected void writeBytesToFile(byte[] bytes, File f) throws IOException { FAIRSpecUtilities.writeBytesToFile(bytes, f); } - /** - * Minimal command-line interface for now. There are several flags set from - * ExtractorTest. Right now these are not included in the options, and we also - * need to use proper -x or --xxxx flags. - * - * Just haven't implemented that yet. - * - * @param args [0] extractionFile.json, [1] sourcePath, [2] targetDir - * - */ - public static void main(String[] args) { - - if (args.length == 0) { - System.out.println(getCommandLineHelp()); - return; - } - // just run one IFD-extract.json - runExtraction(args, null, -1, -1); - } - /** * Run a full extraction based on arguments, possibly a test set * @@ -3060,9 +3045,24 @@ protected String dumpFlags() { return s; } - @Override - protected FAIRSpecFindingAidHelperI getHelper() { - return helper; + /** + * Minimal command-line interface for now. There are several flags set from + * ExtractorTest. Right now these are not included in the options, and we also + * need to use proper -x or --xxxx flags. + * + * Just haven't implemented that yet. + * + * @param args [0] extractionFile.json, [1] sourcePath, [2] targetDir + * + */ + public static void main(String[] args) { + + if (args.length == 0) { + System.out.println(getCommandLineHelp()); + return; + } + // just run one IFD-extract.json + runExtraction(args, null, -1, -1); } }