org.eclipse.datatools.sqltools.result.internal.export
Class HTMLOutputter
java.lang.Object
org.eclipse.datatools.sqltools.result.export.AbstractOutputter
org.eclipse.datatools.sqltools.result.internal.export.HTMLOutputter
public class HTMLOutputter
- extends AbstractOutputter
Outputs the result set(s) in HTML format
- Author:
- Dafan Yang
Method Summary |
void |
output(IResultInstance rs,
java.util.Properties props,
java.io.OutputStream os)
|
void |
output(IResultInstance rs,
java.util.Properties props,
java.io.PrintWriter pw)
|
void |
output(IResultInstance rs,
java.util.Properties props,
java.lang.String path)
Ouputs all the result set objects in the result instance to the given file path |
void |
output(IResultSetObject resultset,
java.util.Properties options,
java.io.OutputStream stream)
|
void |
output(IResultSetObject resultset,
java.util.Properties options,
java.io.PrintWriter writer)
|
void |
output(IResultSetObject rs,
java.util.Properties props,
java.lang.String path)
Ouputs the result set object to the given file path |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLOutputter
public HTMLOutputter()
output
public void output(IResultSetObject resultset,
java.util.Properties options,
java.io.OutputStream stream)
throws java.io.IOException
- Throws:
java.io.IOException
output
public void output(IResultSetObject resultset,
java.util.Properties options,
java.io.PrintWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
output
public void output(IResultInstance rs,
java.util.Properties props,
java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
output
public void output(IResultInstance rs,
java.util.Properties props,
java.io.PrintWriter pw)
throws java.io.IOException
- Throws:
java.io.IOException
output
public void output(IResultSetObject rs,
java.util.Properties props,
java.lang.String path)
throws java.io.IOException
- Description copied from class:
AbstractOutputter
- Ouputs the result set object to the given file path
- Specified by:
output
in class AbstractOutputter
- Parameters:
rs
- the result set objectprops
- output options, can get the encoding,delimiter type and user-defined delimiter from itpath
- the file path
- Throws:
java.io.IOException
- -- if i/o error occurs- See Also:
IResultConstants.ENCODING
,
IResultConstants.DELIMITER
,
IResultConstants.USERDEFINED_DELIMITER
output
public void output(IResultInstance rs,
java.util.Properties props,
java.lang.String path)
throws java.io.IOException
- Description copied from class:
AbstractOutputter
- Ouputs all the result set objects in the result instance to the given file path
- Specified by:
output
in class AbstractOutputter
- Parameters:
rs
- the result instanceprops
- output options, can get the encoding,delimiter type and user-defined delimiter from itpath
- the file path
- Throws:
java.io.IOException
- -- if i/o error occurs- See Also:
IResultConstants.ENCODING
,
IResultConstants.DELIMITER
,
IResultConstants.USERDEFINED_DELIMITER