Package edu.harvard.hul.ois.jhove
Class DefaultConfigurationBuilder
- java.lang.Object
-
- edu.harvard.hul.ois.jhove.DefaultConfigurationBuilder
-
public class DefaultConfigurationBuilder extends Object
This class creates a default configuration if no valid configuration file is found.
-
-
Constructor Summary
Constructors Constructor Description DefaultConfigurationBuilder(File location)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetConfigFile()protected String[]getDefaultConfigParameters(Class<?> c)We can't have a static method in an Interface and override it, so we have to get a bit ugly to fake static inheritance.
-
-
-
Constructor Detail
-
DefaultConfigurationBuilder
public DefaultConfigurationBuilder(File location)
Constructor. A location for the file may be specified or left null,
-
-
Method Detail
-
getConfigFile
public File getConfigFile()
-
getDefaultConfigParameters
protected String[] getDefaultConfigParameters(Class<?> c)
We can't have a static method in an Interface and override it, so we have to get a bit ugly to fake static inheritance. The advantage of this is that only the Modules with non-null default config file parameters have to implement the defaultConfigParams static field.
-
-