multivalent.std.adaptor
public class LocalDirectory extends ArchiveMediaAdaptor
LATER: make into tree browser, with contents of subdirectories loaded on demand. LATER: in fielded display, choice of which fields to show (like BeOS)
Version: $Revision: 1.8 $ $Date: 2002/10/19 08:31:46 $
Field Summary | |
---|---|
static String | FIELDS |
static String | MSG_SET_BKUP
Toggle between showing backup files ("...~", "....bkup", ...).
|
static String | MSG_SET_DIRTYPE
Toggle between short name-only and full with dates and so on.
|
static String | PREF_NOBKUP |
static String | PREF_TYPE |
static String | SHORT |
Method Summary | |
---|---|
protected long | buildFields(StringBuffer hsb, File f, File[] dirlist)
LATER: control which fields to show from Preferences, like BeOS. |
protected long | buildShort(StringBuffer hsb, File f, File[] dirlist)
Concise, 5-across list, like UNIX ls, except list across not down so that table sorting works right. |
File | extractFile(File archive, String filename, File outdir) No-op -- already done. |
List<ArchiveFileEntry> | getCatalog(File archive) |
protected String[] | getPatterns() No-op -- already done. |
Object | parse(INode parent) |
boolean | semanticEventAfter(SemanticEvent se, String msg) |
boolean | semanticEventBefore(SemanticEvent se, String msg) Choose between short and fielded displays. |
String | toHTML(String path) |
"setShowBackup": arg= java.lang.String boolean or java.lang.Boolean or null
to toggle.
Returns: sum of file lengths.
Returns: sum of file lengths.