org.jfree.repository.file
Class FileRepository

java.lang.Object
  extended by org.jfree.repository.file.FileRepository
All Implemented Interfaces:
Repository, UrlRepository

public class FileRepository
extends java.lang.Object
implements UrlRepository

Creation-Date: 13.11.2006, 12:00:40

Author:
Thomas Morgner

Constructor Summary
FileRepository(java.io.File file)
           
FileRepository(java.io.File file, MimeRegistry mimeRegistry)
           
 
Method Summary
 MimeRegistry getMimeRegistry()
           
 ContentLocation getRoot()
           
 java.net.URL getURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileRepository

public FileRepository(java.io.File file)
               throws ContentIOException
Throws:
ContentIOException

FileRepository

public FileRepository(java.io.File file,
                      MimeRegistry mimeRegistry)
               throws ContentIOException
Throws:
ContentIOException
Method Detail

getMimeRegistry

public MimeRegistry getMimeRegistry()
Specified by:
getMimeRegistry in interface Repository

getRoot

public ContentLocation getRoot()
                        throws ContentIOException
Specified by:
getRoot in interface Repository
Throws:
ContentIOException

getURL

public java.net.URL getURL()
                    throws java.net.MalformedURLException
Specified by:
getURL in interface UrlRepository
Throws:
java.net.MalformedURLException