Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep* (153)* (49)

pspdash: Javadoc index of package pspdash.

Package Samples:


Base64: Implements Base64 encoding and decoding as defined by RFC 2045: "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies" page 23. More information about this class is available from . The Base64 Content-Transfer-Encoding is designed to represent arbitrary sequences of octets in a form that need not be humanly readable. The encoding and decoding algorithms are simple, but the encoded data are consistently only about 33 percent larger than the unencoded data. This encoding is virtually identical to the one used in Privacy Enhanced Mail (PEM) applications, ...
BrowserLauncher: BrowserLauncher is a class that provides one static method, openURL, which opens the default web browser for the current user of the system to the given URL. It may support other protocols depending on the system -- mailto, ftp, etc. -- but that has not been rigorously tested and is not guaranteed to work. Yes, this is platform-specific code, and yes, it may rely on classes on certain platforms that are not part of the standard JDK. What we're trying to do, though, is to take something that's frequently desirable but inherently platform-specific -- opening a default browser -- and allow programmers ...
FileProperties: I got tired of trying to make my .properties and .ini files look nice so now I delegated that to this object. It will order the output alphabetically, allows comments to be added to each property line, and allows for friendly white space in the output. It also provides several new i/o routines for writers, readers, or just passing it a filename. FileProperties does not make any attempt at recreating the comments for each property from the file when loading because of changes that may have occured in the file. Previously my properties files would look something like this: # This is my web-based ...
MultipartRequest: A Multipart form data parser. Parses an input stream and writes out any files found, making available a hashtable of other url parameters. As of version 1.17 the files can be saved to memory, and optionally written to a database, etc. Copyright (C)2001 Jason Pell. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; ...
PrefixHierarchy: A PrefixHierarchy object is a node in a multiply-branching tree designed to optimize the dispatch of data added and data removed events. Most of the listeners in the repository, when they receive a data added or data removed event, invoke a (computationally expensive) Perl-style pattern match to see if they are really interested in the event. We can therefore greatly increase efficiency if we only dispatch events to potentially interested parties. Most of the objects interested in added/removed events are not interested in the entire repository. Rather, they are interested in elements added or ...
Diff: A class to compare vectors of objects. The result of comparison is a list of change objects which form an edit script. The objects compared are traditionally lines of text from two files. Comparison options such as "ignore whitespace" are implemented by modifying the equals and hashcode methods for the objects compared. The basic algorithm is described in: "An O(ND) Difference Algorithm and its Variations", Eugene Myers, Algorithmica Vol. 1 No. 2, 1986, p 251. This class outputs different results from GNU diff 1.15 on some inputs. Our results are actually better (smaller change list, smaller total ...
CppFilter: Perform cpp-like macro expansion on a stream of text. Currently expands #define macros. Macros with and without arguments are supported. Expansion is done in traditional style, as per "cpp -E -x -P -traditional". Also supports #undef . Also expands limited #ifdef and #ifndef macros. #ifdef identifier and #ifndef identifier are supported, as are the matching #endif and the optional #else . The more sophisticated #if and #elif are NOT supported. Does NOT process #include directives, and does NOT filter out comments.
ErrorReporter: This class provides a generally reusable feature for displaying a collected list of error messages to the user. To use this class, Create an instance of ErrorReporter. Possibly log one or more error messages using the logError method. Call done . If any error messages have been logged when you call the done() method, they will be displayed to the user in a dialog box. If no errors were reported, the done() method will do nothing and return.
DoubleList: Certain earned value calculations require frequent creation and manipulations of lists of double values. Rather than using ArrayList and allocating Double objects on the heap, this class provides a simple implementation of a list of primitive double values. This class does not attempt to provide all of the methods defined in the java.util.List interface - it only provides what is needed by the earned value logic.
SplashScreen: Class SplashScreen displays splash screen that is used when loading of the program takes some time Usage: SplashScreen ss = new SplashScreen("c:/images/image.jpg"); ss.setVisible(true); or if you want load an image from jar file using getClass().getResource(String) SplashScreen ss = new SplashScreen(url); ss.setVisible(true); to kill the splash screen use dispose() command: ss.dispose();
ProgressDialog: A useful class which displays a dialog box with a progress bar, then runs a sequence of tasks, updating the progress bar as each task completes. The tasks in question can be any object which implements Runnable. If, however, the task objects implement ProgressDialog.Task, they can provide a string to be displayed in the progress bar, and they can provide finer-grained progress completion data.
SwingWorker: This is the 3rd version of SwingWorker (also known as SwingWorker 3), an abstract class that you subclass to perform GUI-related work in a dedicated thread. For instructions on using this class, see: Note that the API changed slightly in the 3rd version: You must now invoke start() on the SwingWorker after creating it.
TreeTableModel: TreeTableModel is the model used by a JTreeTable. It extends TreeModel to add methods for getting inforamtion about the set of columns each node in the TreeTableModel may have. Each column, like a column in a TableModel, has a name and a type associated with it. Each node in the TreeTableModel can return a value for each of the columns and set that value if isCellEditable() returns true.
Ping: Poor man's ping. We can't really do ping without resorting to java native methods, since java doesn't contain support for the ICMP protocol. Although there are some "java ping" classes out there, they all use UDP to connect to port 7 on the remote computer (the echo port). Windows computers don't listen on the echo port, so this won't work reliably.
MimeHTMLArchiver: Class for creating MIME Encoded HTML archives of dashboard content. For more information on MIME Encoded HTML archives, see Current bug: if the item named by the starting URI is a dashboard form or a page containing a link to "excel.iqy", the excel file will become the root page instead.
HashTree: Implements a specialized hashtable. Keys must be strings, but values can be of any type. Neither keys nor values may be null. Key strings are assumed to contain frequent instances of the '/' character. Keys are split apart on these '/' characters, and a hierarchically nested tree of hashtables is used to store the results.
VectorQSort: class VectorQSort This class performs a quicksort of the supplied vector, using a comparator implementing the ILessThan interface. Although the current implementation sorts the Vector that was passed in, the user should use the Vector returned by getVector to ensure future compatibility.
LanguageFilter: The LanguageFilter interface supports the generation of LOC counts and redlines in custom programming languages. The pspdiff script can count physical LOC changes in any text-based language. To support new languages, simply write a java class which implements this interface.
FileBackupManager: Backup data and other files automatically. We want to back up data files (*.dat), defect logs (*.def), the time log (time.log), the state file (state), user settings (pspdash.ini), and the error log (log.txt). Do this each time the dashboard starts. Also do it at midnight.
Perl5Util: Limit dependence upon a particular regular expression library. Eventually when process dashboard moves to Java 1.4, we can just use the built-in java.util.regex package. But this won't be a realistic option until Java 1.4 is available on all platforms, including Mac OS X
MRUCache: Simple implementation of a most-recently-used cache. Works like a hashtable, but only retains a fixed number of mappings. When too many key-value pairs are added, the least recently used pairs are flushed to remain under the user-set maximum capacity.
NetworkDriveList: On Windows systems, this class compiles a list of drive letters that are mapped to network drives, along with the UNC names they are mapped to. It can then be used to translate filenames back and forth between drive letter syntax and UNC syntax.

Home | Contact Us | Privacy Policy | Terms of Service