public class RSS_Storage_SEC extends StorageService
StorageService.StorageStatus
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
edgarNS
The Constant edgarNS.
|
static org.apache.log4j.Logger |
log
The log.
|
Constructor and Description |
---|
RSS_Storage_SEC()
Instantiates a new RS s_ storage_ sec.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Vector<java.lang.String> |
getRssURIs(java.util.Vector<java.lang.String> rssURIs)
Returns a Vector of String objects with URLs of official pages that are RSS feeds from the
SEC containing information about last stored XBRL reports.
|
static void |
main(java.lang.String[] args)
The main method.
|
void |
processAddFile(java.lang.String companyName,
java.lang.String cik,
java.lang.String instanceURL,
java.util.Collection<java.lang.String> pArgs,
boolean testMode,
boolean bInASeparateProcess,
StorageEventListener[] listeners)
Process add file.
|
void |
runService(java.lang.String serviceURI,
StorageEventListener[] listeners,
boolean bInASeparateProcess)
reads the content of the URL indicated in the first argument and process it according to the
format specified by the SEC RSS.
|
clear, disableOpen, documentStoredEvent, doStoreDTS, doStoreDTS, doStoreDTS, enableOpen, getLastMessage, getPercentage, getService, getStackTrace, getStatus, getStorageThreads, getTooltipMessage, isStored
getDbUtil, getStatus, showDbSettings
public static final java.lang.String edgarNS
public static org.apache.log4j.Logger log
public static void main(java.lang.String[] args)
args
- the argumentspublic static java.util.Vector<java.lang.String> getRssURIs(java.util.Vector<java.lang.String> rssURIs)
rssURIs
- a Vector of strings with already loaded URLs, the URLs will not be duplicate. If null, a new Vector will be createdpublic void runService(java.lang.String serviceURI, StorageEventListener[] listeners, boolean bInASeparateProcess)
serviceURI
- the URL of the file to readlisteners
- array of StorageEventListeners that will be informed about the storage result or null if not neededbInASeparateProcess
- the b in a separate processpublic void processAddFile(java.lang.String companyName, java.lang.String cik, java.lang.String instanceURL, java.util.Collection<java.lang.String> pArgs, boolean testMode, boolean bInASeparateProcess, StorageEventListener[] listeners)
companyName
- the company name that would be stored in the FriendlyCompanyName tablecik
- the identifier part in the entity for this company nameinstanceURL
- the instance document URL to read and store into the databasepArgs
- additional arguments to be added to the background java process if they are requiredtestMode
- boolean, true means nothing will be stored into the database but the DTS will be loadedbInASeparateProcess
- the b in a separate processlisteners
- This is an optional array of StorageEventListeners that will be informed when the storage process ends. null means no listeners will be notifiedCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa