public static class ExportUtil.Builder extends Object
Constructor and Description |
---|
Builder(Cursor cursor) |
Builder(Database db) |
Builder(Database db,
String tableName) |
Modifier and Type | Method and Description |
---|---|
void |
exportAll(File dir) |
void |
exportFile(File f) |
void |
exportWriter(BufferedWriter writer) |
ExportUtil.Builder |
setCursor(Cursor cursor) |
ExportUtil.Builder |
setDatabase(Database db) |
ExportUtil.Builder |
setDelimiter(String delim) |
ExportUtil.Builder |
setFileNameExtension(String ext) |
ExportUtil.Builder |
setFilter(ExportFilter filter) |
ExportUtil.Builder |
setHeader(boolean header) |
ExportUtil.Builder |
setQuote(char quote) |
ExportUtil.Builder |
setTableName(String tableName) |
public ExportUtil.Builder setDatabase(Database db)
public ExportUtil.Builder setTableName(String tableName)
public ExportUtil.Builder setCursor(Cursor cursor)
public ExportUtil.Builder setDelimiter(String delim)
public ExportUtil.Builder setQuote(char quote)
public ExportUtil.Builder setFilter(ExportFilter filter)
public ExportUtil.Builder setHeader(boolean header)
public ExportUtil.Builder setFileNameExtension(String ext)
public void exportAll(File dir) throws IOException
public void exportFile(File f) throws IOException
public void exportWriter(BufferedWriter writer) throws IOException
Copyright © 2005–2024 OpenHMS. All rights reserved.