blob: 2238364bd7f18f073e7c8a8522f7b423701ac4b5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Leo Denault <ldena023@uottawa.ca> - initial API and implementation
*******************************************************************************/
package org.eclipse.e4.tools.orion.editor.builder.html;
import java.io.File;
import java.io.IOException;
import org.eclipse.e4.tools.orion.editor.builder.AbstractHTMLBuilder;
import org.eclipse.e4.tools.orion.editor.builder.IHTMLBuilder;
/**
* {@link IHTMLBuilder} to build the Orion HTML editor for HTML mode.
*
*/
public class HTMLBuilder extends AbstractHTMLBuilder {
/**
* Constructor with {@link HTMLOptions}.
*
* @param options
* the HTML options.
*/
public HTMLBuilder(HTMLOptions options) {
super(options);
}
/**
* Constructor with file base dir.
*
* @param baseDir
* base directory of the CSS and JS.
*/
public HTMLBuilder(File baseDir) {
this(new HTMLOptions(baseDir));
}
/**
* Constructor to use only on OSGi context.
*
* @throws IOException
*
*/
public HTMLBuilder() throws IOException {
this(new HTMLOptions());
}
}