public class FileExporter
extends Object
implements RemoteAccess
Constructor and Description |
---|
FileExporter() |
Modifier and Type | Method and Description |
---|---|
static File |
_writeStream(ApplicationData ci,
String filename) |
static boolean |
export(String dir,
FormatContentHolder obj,
String what,
Object dataHolder,
String re,
boolean fromRep) |
static boolean |
export(String dir,
FormatContentHolder obj,
String what,
Object dataHolder,
String re,
boolean fromRep,
boolean checkOnly) |
static List<Map<String,Object>> |
exportAll(String dir,
FormatContentHolder obj,
Object ignoRE,
Map ignoMap) |
static List<Map<String,Object>> |
exportPrimary(String dir,
FormatContentHolder obj,
Object ignoRE,
Map ignoMap) |
static List<Map<String,Object>> |
exportPrimaryDefaultRep(String dir,
FormatContentHolder obj,
Object re,
Map ignoMap) |
static List<Map<String,Object>> |
exportPrimarySecondary(String dir,
FormatContentHolder obj,
Object ignoRE,
Map ignoMap) |
static void |
exportReps(String dir,
FormatContentHolder obj,
List<Map<String,Object>> l,
String re,
boolean onlyDefault) |
static List<Map<String,Object>> |
exportReps(String dir,
FormatContentHolder obj,
Object ignoRE,
Map ignoMap) |
static List<Map<String,Object>> |
exportSelected(String dir,
FormatContentHolder obj,
String ignoRe,
Map filter) |
static void |
main(String[] a)
allow test export
|
static void |
out(String fn,
ApplicationData ci,
Object dataHolder,
boolean fromRep) |
static File |
writeStream(ApplicationData ci,
String filename) |
public static final int MAJOR
public static final int MINOR
public static List<Map<String,Object>> exportPrimary(String dir, FormatContentHolder obj, Object ignoRE, Map ignoMap) throws Exception
Exception
public static List<Map<String,Object>> exportPrimarySecondary(String dir, FormatContentHolder obj, Object ignoRE, Map ignoMap) throws Exception
Exception
public static List<Map<String,Object>> exportPrimaryDefaultRep(String dir, FormatContentHolder obj, Object re, Map ignoMap) throws Exception
Exception
public static List<Map<String,Object>> exportAll(String dir, FormatContentHolder obj, Object ignoRE, Map ignoMap) throws Exception
Exception
public static List<Map<String,Object>> exportReps(String dir, FormatContentHolder obj, Object ignoRE, Map ignoMap) throws Exception
Exception
public static void exportReps(String dir, FormatContentHolder obj, List<Map<String,Object>> l, String re, boolean onlyDefault) throws Exception
Exception
public static boolean export(String dir, FormatContentHolder obj, String what, Object dataHolder, String re, boolean fromRep) throws Exception
Exception
public static boolean export(String dir, FormatContentHolder obj, String what, Object dataHolder, String re, boolean fromRep, boolean checkOnly) throws Exception
Exception
public static List<Map<String,Object>> exportSelected(String dir, FormatContentHolder obj, String ignoRe, Map filter) throws Exception
Exception
public static void out(String fn, ApplicationData ci, Object dataHolder, boolean fromRep) throws Exception
Exception
public static File writeStream(ApplicationData ci, String filename) throws WTException
WTException
public static File _writeStream(ApplicationData ci, String filename) throws WTException, IOException
WTException
IOException
public static void main(String[] a) throws Exception
a
- input paramsException