public class ConfigFile
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
extraClassPath |
java.lang.String |
url |
Constructor and Description |
---|
ConfigFile() |
ConfigFile(ConfigFile o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ConfigFile.
|
static ConfigFile |
fromString(java.lang.String s)
String representation of this ConfigFile.
|
java.lang.String |
getExtraClassPath()
Extra class path elements to add to the context class loader when loading this
configuration file. |
java.lang.String |
getUrl()
-
|
ConfigFile |
makeCopy()
Creates and returns a deep copy of this ConfigFile.
|
static ConfigFile |
readFrom(java.io.InputStream is)
Read this ConfigFile from an XML fragment.
|
void |
setExtraClassPath(java.lang.String extraClassPath)
Extra class path elements to add to the context class loader when loading this
configuration file. |
void |
setUrl(java.lang.String url)
-
|
java.lang.String |
toString()
String representation of this ConfigFile.
|
ConfigFile |
withExtraClassPath(java.lang.String extraClassPath) |
ConfigFile |
withUrl(java.lang.String url) |
void |
writeTo(java.io.OutputStream os)
Write this ConfigFile as an XML fragment
|
public ConfigFile()
public ConfigFile(ConfigFile o)
public void setUrl(java.lang.String url)
public java.lang.String getUrl()
public ConfigFile withUrl(java.lang.String url)
public void setExtraClassPath(java.lang.String extraClassPath)
public java.lang.String getExtraClassPath()
public ConfigFile withExtraClassPath(java.lang.String extraClassPath)
public ConfigFile makeCopy()
public static ConfigFile readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static ConfigFile fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.