au.com.prunge.jgenfile.spi
Class FileSystemProvider.Info

java.lang.Object
  |
  +--au.com.prunge.jgenfile.spi.FileSystemProvider.Info
Enclosing class:
FileSystemProvider

public static class FileSystemProvider.Info
extends Object

Additional information about a file system provider can be stored in an instance of this class.

A null value can be returned for any of the getter methods if the associated information is not available.

Version:
1.0
Author:
Peter Runge

Constructor Summary
FileSystemProvider.Info(String author, String version, Date dateCreated, URL url)
          Constructs an Info object.
 
Method Summary
 String getAuthor()
           
 Date getDateCreated()
           
 URL getUrl()
           
 String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemProvider.Info

public FileSystemProvider.Info(String author,
                               String version,
                               Date dateCreated,
                               URL url)
Constructs an Info object.

A null value is allowed for any of the parameters to indicate that specific information is not available.

Parameters:
author - the author of the provider.
version - the version of the provider.
dateCreated - the date the provider was created.
url - the URL of the web page for the provider.
Method Detail

getAuthor

public String getAuthor()
Returns:
the name of the author of the provider.

getDateCreated

public Date getDateCreated()
Returns:
the date the file system was created.

getUrl

public URL getUrl()
Returns:
the URL of the web site to get additional information about this provider.

getVersion

public String getVersion()
Returns:
the version of provider in string form.