Package org.getalp.dbnary.cli.utils
Class ExtractionPreferences
- java.lang.Object
-
- org.getalp.dbnary.cli.utils.ExtractionPreferences
-
public class ExtractionPreferences extends Object
-
-
Constructor Summary
Constructors Constructor Description ExtractionPreferences(Path directory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
expandedDump(String language, String date)
static String
expandedDumpFilename(String language, String date)
Path
getDirectory()
Path
getDumpDir()
Path
getDumpDir(String language)
Path
getExtractionDir()
Path
getExtractionDir(String language)
Path
getLatestExtractionDir()
Path
originalDump(String language, String date)
static String
originalDumpFilename(String language, String date)
Path
outputFileForFeature(org.getalp.dbnary.ExtractionFeature feature, String language, String outputFormat, boolean compress, boolean isExolex)
Path
outputFileForFeature(org.getalp.dbnary.ExtractionFeature feature, String language, String suffix, String outputFormat, boolean compress, boolean isExolex)
static String
outputFilename(org.getalp.dbnary.ExtractionFeature feature, String language, String outputFormat, boolean compress, boolean isExolex)
static String
outputFilename(org.getalp.dbnary.ExtractionFeature feature, String language, String suffix, String outputFormat, boolean compress, boolean isExolex)
-
-
-
Constructor Detail
-
ExtractionPreferences
public ExtractionPreferences(Path directory)
-
-
Method Detail
-
outputFilename
public static String outputFilename(org.getalp.dbnary.ExtractionFeature feature, String language, String outputFormat, boolean compress, boolean isExolex)
-
outputFilename
public static String outputFilename(org.getalp.dbnary.ExtractionFeature feature, String language, String suffix, String outputFormat, boolean compress, boolean isExolex)
-
getDirectory
public Path getDirectory()
-
getDumpDir
public Path getDumpDir()
-
getExtractionDir
public Path getExtractionDir()
-
getLatestExtractionDir
public Path getLatestExtractionDir()
-
outputFileForFeature
public Path outputFileForFeature(org.getalp.dbnary.ExtractionFeature feature, String language, String outputFormat, boolean compress, boolean isExolex)
-
outputFileForFeature
public Path outputFileForFeature(org.getalp.dbnary.ExtractionFeature feature, String language, String suffix, String outputFormat, boolean compress, boolean isExolex)
-
-