|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FileListerException | |
org.alltimeflashdreamer.filelister | The filelister package contains the application core, such as the JDBC connectivity, the configuration reader, the indexer and the viewer servlets. |
org.alltimeflashdreamer.filelister.xml | The xml package contains the XML tag representing classes and the DOM parser implementation. |
Uses of FileListerException in org.alltimeflashdreamer.filelister |
Methods in org.alltimeflashdreamer.filelister that return FileListerException | |
FileListerException |
FileListerConfig.getFileListerException()
Returns the currently set FileListerException instance or null, if none. |
Methods in org.alltimeflashdreamer.filelister with parameters of type FileListerException | |
static void |
FileListerFactory.handleFileListerException(HttpServletResponse response,
FileListerConfig fileListerConfig,
FileListerException fle)
If the given FileListerConfig isn't null, the catched exception is stored therein and the client is redirected to the error site, else the exception itself is throw again. |
void |
FileListerConfig.setFileListerException(FileListerException fle)
Allows to set a FileListerException from anywhere, including JSP sites. |
static void |
AbstractFileListerServlet.showErrorSite(FileListerException fle,
HttpServletResponse response,
FileListerConfig fileListerConfig)
Initializes the appropriate procedure to show the given error to the user. |
Methods in org.alltimeflashdreamer.filelister that throw FileListerException | |
static org.alltimeflashdreamer.util.jdbc.ConnectionPool |
PoolHandler.getPool()
Returns the pool (if first call, it's initialized first which may throw a "embedded" FileListerException). |
(package private) static void |
PoolHandler.initializePool(PropertyFileParameters params)
Initializes the connection pool according to the settings stored in the given PropertyFileParameters instance, i.e. the property file. |
static String |
JSPMethods.getNameColumnLink(FileListerEntry fle,
FileListerConfig fileListerConfig)
Used by viewresults.jsp: Builds the link for each entry in the "Name" column (direct access to this file or directory). |
static String |
JSPMethods.getDirectoryColumnLink(FileListerEntry fle,
FileListerConfig fileListerConfig)
Used by viewresults.jsp: Builds the link for each entry in the "Location" column (direct access to this directory). |
(package private) void |
FileListerZipBuilder.buildZip(File[] fileOrDirList,
FileListerConfig fileListerConfig)
Initializer method for the access of this class by the ZipBuilderThread. |
static FileListerConfig |
FileListerFactory.initialize(HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
Does the jobs to be done before the result site's frame content sites can show the results/configuration appropriately: - reads the configuration file - verifies that the connection pool is initialized - verifies that a FileListerConfig instance is initialized and stored within the session, together with a unique window id (which is stored in the new FileListerConfig instance) - return the new instance for immediate work |
static void |
FileListerFactory.processSearch(HttpServletRequest request,
HttpServletResponse response)
Processes the task of executing a search within the index or the file system by reading the URL parameters and reacting according to them. |
static void |
FileListerFactory.handleFileListerException(HttpServletResponse response,
FileListerConfig fileListerConfig,
FileListerException fle)
If the given FileListerConfig isn't null, the catched exception is stored therein and the client is redirected to the error site, else the exception itself is throw again. |
String |
FileListerConfig.getSearchDirectory()
Returns the start directory of the (last) search as a string, formatted either absolutely or relatively, as defined in the properties file |
(package private) void |
FileListerConfig.createSearchParameters(HttpServletRequest request)
Reads the URL parameters and stores those values within an instance of SearchParameters. |
(package private) void |
FileListerConfig.sortByColumn(String sURLInput)
Verifies the URL input and sets the new sort mode. |
String |
FileListerConfig.getConfigDescriptor()
Returns a string describing the current configuration settings. |
String |
FileListerConfig.getDirectoryOutput(String sDirectory)
Shows the directory string that is visible in the web output . |
(package private) void |
FileListerConfig.jumpToSite(String sURLInput)
Redirects the client to a specific site. |
(package private) void |
FileListerConfig.setResultsPerSite(String sURLInput)
Verifies the URL input and sets the new results-per-site count. |
(package private) void |
FileListerConfig.navigate(String sURLParameterName)
Navigates according to the URL input parameter: to the first, to the previous, to the next or to the last position. |
(package private) void |
FileListerConfig.processModeChange(String sNewMode,
HttpServletRequest request)
Reacts to a click on the simple/advanced search button. |
(package private) void |
FileLister.reloadIndex()
Reloads the index from the database, very much like during construction. |
(package private) void |
FileLister.prepareEntries(int iStartIndex)
Makes sure that there are enough entries buffered in the memory to allow easy navigation, with only a few reloads. |
(package private) int |
FileLister.getChildCount(FileListerEntry fileListerEntry)
If the given FileListerEntry represents a file, 0 is returned, else the index is queried for the child count of the given directory. |
Constructors in org.alltimeflashdreamer.filelister that throw FileListerException | |
ZipBuilderThread(FileListerConfig fileListerConfig,
ArrayList arrayFileListerEntries)
The constructor stores the given pointers and generates a random-based zip file name. |
|
SearchParameters(HttpServletRequest request)
Constructor reads the URL input parameters regarding the search settings that need to be stored for each (consecutive) search. |
|
PropertyFileParameters(String sPropertyFileDir)
Constructor parses the given config XML file and verifies the entries. |
|
PropertyFileParameters(FileListerXMLHandler xmlHandler)
Overloaded constructor which avoids the parsing of the file. |
|
InitialIndexer(String sPropertyFileDir,
boolean bQuietMode)
The constructor may be called through the command line and calls the FileLister through the "non-servlet" constructor which automatically runs the initial indexing process. |
|
FileListerZipBuilder(FileListerConfig fileListerConfig,
OutputStream os)
Creates a new zip file in the nominated temp directory of the config class. |
|
FileLister(FileListerConfig fileListerConfig,
boolean bQuietMode)
If it's the directory input mode, it's checked whether the researching of the given directory is allowed again or not, depending on the index aging parameter of the property file, compared with the "last indexed" value and the current time. |
Uses of FileListerException in org.alltimeflashdreamer.filelister.xml |
Methods in org.alltimeflashdreamer.filelister.xml that throw FileListerException | |
void |
FileListerXMLHandler.save(FileListerTableModel model)
Reads all the values of the given model and updates the DOM. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |