com.sun.tdk.signaturetest.sigfile
Class FileManager

java.lang.Object
  extended by com.sun.tdk.signaturetest.sigfile.FileManager

public class FileManager
extends java.lang.Object


Constructor Summary
FileManager()
           
 
Method Summary
 void addFormat(Format frm, boolean useByDefault)
           
 Format getDefaultFormat()
           
 Reader getReader(java.net.URL fileURL)
           
static java.net.URL getURL(java.lang.String testURL, java.lang.String fileName)
           
 Writer getWriter(java.util.Set features)
          Returns the latest Writer for format supported given set of features
 void setFormat(Format frm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileManager

public FileManager()
Method Detail

getURL

public static java.net.URL getURL(java.lang.String testURL,
                                  java.lang.String fileName)
                           throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

getWriter

public Writer getWriter(java.util.Set features)
Returns the latest Writer for format supported given set of features


getReader

public Reader getReader(java.net.URL fileURL)

getDefaultFormat

public Format getDefaultFormat()

addFormat

public void addFormat(Format frm,
                      boolean useByDefault)

setFormat

public void setFormat(Format frm)