public final class Applications extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Applications.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
APP_HOME_PROPERTY |
static String |
DEFAULT_CONFIG_ROOT_NAME |
static String |
UPDATE_LATEST_VERSION |
static String |
UPDATE_OLD_VERSION |
static String |
UPDATE_SERVICE_NOT_AVAILABLE |
static String |
UPDATE_URI |
public static final String APP_HOME_PROPERTY
public static final String DEFAULT_CONFIG_ROOT_NAME
public static final String UPDATE_SERVICE_NOT_AVAILABLE
public static final String UPDATE_LATEST_VERSION
public static final String UPDATE_OLD_VERSION
public static final String UPDATE_URI
public static ReleaseDetails getAppDetails()
public static ConfigManager createConfigManager(File root)
root - the root directory for the configuration, should contain the
veraPDF configuration files, if not default ones are created.ConfigManager instance populated using the
configuration files at root.public static ConfigManager createAppConfigManager()
ConfigManager instance populated using the
configuration files in the application config directory.public static ConfigManager createTmpConfigManager()
ConfigManager instance populated using the
configuration files in the temp directory.public static VeraAppConfig defaultConfig()
public static Applications.Builder defaultConfigBuilder()
public static Applications.Builder createConfigBuilder(VeraAppConfig base)
public static String toXml(VeraAppConfig toConvert, Boolean prettyXml) throws JAXBException, IOException
JAXBExceptionIOExceptionpublic static void toXml(VeraAppConfig toConvert, OutputStream stream, Boolean prettyXml) throws JAXBException
JAXBExceptionpublic static org.verapdf.apps.VeraAppConfigImpl fromXml(InputStream toConvert) throws JAXBException
JAXBExceptionpublic static void toXml(VeraAppConfig toConvert, Writer writer, Boolean prettyXml) throws JAXBException
JAXBExceptionpublic static org.verapdf.apps.VeraAppConfigImpl fromXml(Reader toConvert) throws JAXBException
JAXBExceptionpublic static org.verapdf.apps.VeraAppConfigImpl fromXml(String toConvert) throws JAXBException
JAXBExceptionpublic static SoftwareUpdater softwareUpdater()
Copyright © 2015–2017 The veraPDF Consortium. All rights reserved.