TrueZIP Samples 7.1

de.schlichtherle.truezip.sample.kernel.app
Class DriverMap

java.lang.Object
  extended by de.schlichtherle.truezip.sample.kernel.app.DriverMap
All Implemented Interfaces:
Runnable

@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class)
public class DriverMap
extends Object
implements Runnable

Pretty-prints an HTML table of the map of a file system driver provider.

Author:
Christian Schlichtherle

Field Summary
private static String BEGIN_CODE
           
private static String BEGIN_LINK
           
private static String END_CODE
           
private static String END_LINK
           
private  PrintStream out
           
private  FsDriverProvider provider
           
private static String TABLE_ATTRIBUTES
           
 
Constructor Summary
DriverMap(PrintStream out, FsDriverProvider provider)
           
 
Method Summary
private static Map<String,SuffixSet> compact(Map<FsScheme,FsDriver> input)
           
static void main(String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_ATTRIBUTES

private static final String TABLE_ATTRIBUTES
See Also:
Constant Field Values

BEGIN_CODE

private static final String BEGIN_CODE
See Also:
Constant Field Values

END_CODE

private static final String END_CODE
See Also:
Constant Field Values

BEGIN_LINK

private static final String BEGIN_LINK
See Also:
Constant Field Values

END_LINK

private static final String END_LINK
See Also:
Constant Field Values

out

private final PrintStream out

provider

private final FsDriverProvider provider
Constructor Detail

DriverMap

public DriverMap(PrintStream out,
                 FsDriverProvider provider)
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

run

public void run()
Specified by:
run in interface Runnable

compact

private static Map<String,SuffixSet> compact(Map<FsScheme,FsDriver> input)

TrueZIP Samples 7.1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.