com.ihr.xbrl.store.services
Class RSS_Storage_SEC
java.lang.Object
com.ihr.xbrl.database.common.XBRLDatabaseAccessApp
com.ihr.xbrl.store.StorageService
com.ihr.xbrl.store.services.RSS_Storage_SEC
- All Implemented Interfaces:
- HasEnableDisableOpenMenus, StorageEventListener
public class RSS_Storage_SEC
- extends StorageService
This is the new implementation.
- Author:
- Ignacio
|
Field Summary |
static java.lang.String |
edgarNS
|
static org.apache.log4j.Logger |
log
|
|
Method Summary |
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)
|
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)
|
void |
runService(java.lang.String serviceURI,
StorageEventListener[] listeners)
reads the content of the URL indicated in the first argument and process it according to the
format specified by the SEC RSS. |
| Methods inherited from class com.ihr.xbrl.store.StorageService |
disableOpen, documentStoredEvent, doStoreDTS, enableOpen, getLastMessage, getPercentage, getService, getStackTrace, getStatus, getStorageThreads, getTooltipMessage, isStored |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
edgarNS
public static final java.lang.String edgarNS
- See Also:
- Constant Field Values
log
public static org.apache.log4j.Logger log
RSS_Storage_SEC
public RSS_Storage_SEC()
main
public static void main(java.lang.String[] args)
- Parameters:
args -
- Throws:
java.io.FileNotFoundException
getRssURIs
public 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
- Parameters:
rssURIs - a Vector of strings with already loaded URLs, the URLs will not be duplicate. If null, a new Vector will be created
- Returns:
- Vector>String<
runService
public void runService(java.lang.String serviceURI,
StorageEventListener[] listeners)
- reads the content of the URL indicated in the first argument and process it according to the
format specified by the SEC RSS.
- Parameters:
serviceURI - the URL of the file to readlisteners - array of StorageEventListeners that will be informed about the storage result or null if not needed
processAddFile
public 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)
- Parameters:
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 loadedbInSeparateProcess, - true means a new Java process will be executed and isolated from current process. (new JVM will be used). Note listeners in the listeners argument will be notified differently if the invocation is in the same or in a different process.listeners - This is an optional array of StorageEventListeners that will be informed when the storage process ends. null means no listeners will be notified
Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa