org.archiviststoolkit.importer
Class ImportUtils
java.lang.Object
org.archiviststoolkit.importer.ImportUtils
public class ImportUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportUtils
public ImportUtils()
loadFileIntoStringArray
public static java.util.ArrayList<java.lang.String> loadFileIntoStringArray(java.io.File file)
loadFileIntoString
public static java.lang.String loadFileIntoString(java.lang.String filePath)
throws java.io.IOException
- Throws:
java.io.IOException
chooseFile
public static java.io.File chooseFile(java.awt.Component parent)
chooseFile
public static java.io.File chooseFile(java.awt.Component parent,
SimpleFileFilter fileFilter)
nullSafeSet
public static void nullSafeSet(DomainObject domainObject,
java.lang.String propertyName,
java.lang.Object value)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
UnknownLookupListException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
UnknownLookupListException
nullSafeDateSet
public static void nullSafeDateSet(DomainObject domainObject,
java.lang.String propertyName,
javax.xml.datatype.XMLGregorianCalendar date)
throws java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
UnknownLookupListException
- Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
UnknownLookupListException