src/main/java/ch/rasc/embeddedtc/EmbeddedTomcat.java
@Deprecated
	public EmbeddedTomcat addContextEnvironmentAndResourceFromFile(String contextFile) {
		try {
			setContextFile(new File(contextFile).toURI().toURL());
		}
		catch (MalformedURLException e) {
			throw new RuntimeException(e);
		}
		return this;
	}
@Deprecated
	public EmbeddedTomcat addContextEnvironmentAndResourceFromFile(String contextFile) {
		try {
			setContextFile(new File(contextFile).toURI().toURL());
		}
		catch (MalformedURLException e) {
			throw new RuntimeException(e);
		}
		return this;
	}
@ Deprecated public EmbeddedTomcat addContextEnvironmentAndResourceFromFile ( String contextFile ) { try { setContextFile ( new File ( contextFile ) . toURI ( ) . toURL ( ) ) ; } catch ( MalformedURLException e ) { throw new RuntimeException ( e ) ; } return this ; }
Read ContextEnvironment and ContextResource definition from a text file.

@param contextFile Location to a context file
@return The embedded Tomcat
@deprecated use {@link #setContextFile(String)}
Read ContextEnvironment and ContextResource definition from a text file .