|
1 | 1 | package org.jabref.cli; |
2 | 2 |
|
3 | | -import java.io.IOException; |
4 | | -import java.nio.charset.StandardCharsets; |
5 | | -import java.nio.file.Files; |
6 | | -import java.nio.file.Path; |
7 | | -import java.util.ArrayList; |
8 | | -import java.util.Collections; |
9 | | -import java.util.List; |
10 | | -import java.util.Locale; |
11 | | -import java.util.Optional; |
12 | | -import java.util.Set; |
13 | | -import java.util.prefs.BackingStoreException; |
14 | | - |
| 3 | +import com.google.common.base.Throwables; |
15 | 4 | import org.jabref.gui.Globals; |
16 | 5 | import org.jabref.gui.externalfiles.AutoSetFileLinksUtil; |
17 | 6 | import org.jabref.gui.undo.NamedCompound; |
18 | 7 | import org.jabref.logic.JabRefException; |
19 | 8 | import org.jabref.logic.bibtex.FieldPreferences; |
20 | 9 | import org.jabref.logic.citationkeypattern.CitationKeyGenerator; |
21 | | -import org.jabref.logic.exporter.AtomicFileWriter; |
22 | | -import org.jabref.logic.exporter.BibDatabaseWriter; |
23 | | -import org.jabref.logic.exporter.BibWriter; |
24 | | -import org.jabref.logic.exporter.BibtexDatabaseWriter; |
25 | | -import org.jabref.logic.exporter.EmbeddedBibFilePdfExporter; |
26 | | -import org.jabref.logic.exporter.Exporter; |
27 | | -import org.jabref.logic.exporter.ExporterFactory; |
28 | | -import org.jabref.logic.exporter.SelfContainedSaveConfiguration; |
29 | | -import org.jabref.logic.exporter.XmpPdfExporter; |
30 | | -import org.jabref.logic.importer.FetcherException; |
31 | | -import org.jabref.logic.importer.ImportException; |
32 | | -import org.jabref.logic.importer.ImportFormatPreferences; |
33 | | -import org.jabref.logic.importer.ImportFormatReader; |
34 | | -import org.jabref.logic.importer.OpenDatabase; |
35 | | -import org.jabref.logic.importer.OutputPrinter; |
36 | | -import org.jabref.logic.importer.ParseException; |
37 | | -import org.jabref.logic.importer.ParserResult; |
38 | | -import org.jabref.logic.importer.SearchBasedFetcher; |
39 | | -import org.jabref.logic.importer.WebFetchers; |
| 10 | +import org.jabref.logic.exporter.*; |
| 11 | +import org.jabref.logic.importer.*; |
40 | 12 | import org.jabref.logic.importer.fileformat.BibtexParser; |
41 | 13 | import org.jabref.logic.journals.JournalAbbreviationRepository; |
42 | 14 | import org.jabref.logic.l10n.Localization; |
|
58 | 30 | import org.jabref.preferences.FilePreferences; |
59 | 31 | import org.jabref.preferences.PreferencesService; |
60 | 32 | import org.jabref.preferences.SearchPreferences; |
61 | | - |
62 | | -import com.google.common.base.Throwables; |
63 | 33 | import org.slf4j.Logger; |
64 | 34 | import org.slf4j.LoggerFactory; |
65 | 35 |
|
| 36 | +import java.io.IOException; |
| 37 | +import java.nio.charset.StandardCharsets; |
| 38 | +import java.nio.file.Files; |
| 39 | +import java.nio.file.Path; |
| 40 | +import java.util.*; |
| 41 | +import java.util.prefs.BackingStoreException; |
| 42 | + |
66 | 43 | public class ArgumentProcessor { |
67 | 44 |
|
68 | 45 | private static final Logger LOGGER = LoggerFactory.getLogger(ArgumentProcessor.class); |
|
0 commit comments