com.darwinsys.sql.OutputMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of darwinsys-api Show documentation
Show all versions of darwinsys-api Show documentation
Ian Darwin's assorted Java stuff,
assembled as an API.
package com.darwinsys.sql;
/** The set of all valid modes. Short, lowercase names were used
* for simple use in \mX where X is one of the names.
*/
public enum OutputMode {
/** Mode for Text */
t("Text"),
/** Mode for HTML output */
h("HTML"),
/** Mode for SQL output */
s("SQL"),
/** Mode for XML output */
x("XML"),
/** Mode for JTable */
j("Table");
String name;
OutputMode(String n) {
name = n;
}
public String toString() {
return name;
}
}