|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.ormlite.field.DatabaseFieldConfigLoader
public class DatabaseFieldConfigLoader
Database field configuration loader which reads and writes DatabaseFieldConfig
from a text file/stream.
Constructor Summary | |
---|---|
DatabaseFieldConfigLoader()
|
Method Summary | |
---|---|
static DatabaseFieldConfig |
fromReader(BufferedReader reader)
Load a configuration in from a text file. |
static void |
write(BufferedWriter writer,
DatabaseFieldConfig config,
String tableName)
Write the configuration to a buffered writer. |
static void |
writeConfig(BufferedWriter writer,
DatabaseFieldConfig config,
String tableName)
Print the config to the writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatabaseFieldConfigLoader()
Method Detail |
---|
public static DatabaseFieldConfig fromReader(BufferedReader reader) throws SQLException
SQLException
public static void write(BufferedWriter writer, DatabaseFieldConfig config, String tableName) throws SQLException
SQLException
public static void writeConfig(BufferedWriter writer, DatabaseFieldConfig config, String tableName) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |