public class LoadURLRequest<T> extends AbstractLoadRequest<T> implements LoadDataRequest<T>
mCSVSeparator, mEncoding, mFirstRowIsHeader| Constructor and Description |
|---|
LoadURLRequest(String pURLName,
boolean pFirstRowIsHeader,
String pCSVSeparator,
String pEncoding)
Creates a new LoadURLRequest, the CSV data is loaded in execute()
from the handed URL.
|
| Modifier and Type | Method and Description |
|---|---|
Response<T> |
execute()
Generate a CSVTableModel with the URL 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 LoadURLRequest(String pURLName, boolean pFirstRowIsHeader, String pCSVSeparator, String pEncoding)
pURLName - the URL we should take the CSV file from, must not be nullpFirstRowIsHeader - true if the first row contains the headerpCSVSeparator - "comma" separator, may be nullpEncoding - the encoding, must not be nulIllegalArgumentException - if pFile is nullCopyright © 2013–2024 Jürgen Zeller (privat). All rights reserved.