public class LoadFileRequest<T> extends AbstractLoadRequest<T> implements LoadDataRequest<T>
mCSVSeparator, mEncoding, mFirstRowIsHeader| Constructor and Description |
|---|
LoadFileRequest(File pFile,
boolean pFirstRowIsHeader,
String pCSVSeparator,
String pEncoding)
Creates a new LoadFileRequest, the CSV data is loaded in execute() from
the handed file.
|
| Modifier and Type | Method and Description |
|---|---|
Response<T> |
execute()
Generate a CsvFileredObservableList with the file given in the constructor.
|
canBeCancelled, cancel, equals, getDelegate, getDispatchTarget, hashCode, setDispatchTarget, setDispatchTarget, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanBeCancelled, cancel, getDelegate, getDispatchTarget, setDispatchTarget, setDispatchTargetpublic LoadFileRequest(File pFile, boolean pFirstRowIsHeader, String pCSVSeparator, String pEncoding)
pFile - file to load the data frompFirstRowIsHeader - true if the first row contains the headerpCSVSeparator - "comma" separator, may be nullpEncoding - the encoding, must not be nulIllegalArgumentException - if pFile is nullCopyright © 2019 Jürgen Zeller (privat). All rights reserved.