local.tomas.docsite.source
Class DirectorySource

java.lang.Object
  extended by local.tomas.docsite.source.DirectorySource
All Implemented Interfaces:
DocsiteSource

public class DirectorySource
extends java.lang.Object
implements DocsiteSource


Constructor Summary
DirectorySource(java.io.File dir)
           
DirectorySource(java.lang.String name)
           
 
Method Summary
 DocsiteSource getFolder(java.lang.String name)
           
 java.io.InputStream openDocument(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectorySource

public DirectorySource(java.io.File dir)

DirectorySource

public DirectorySource(java.lang.String name)
Method Detail

getFolder

public DocsiteSource getFolder(java.lang.String name)
Specified by:
getFolder in interface DocsiteSource

openDocument

public java.io.InputStream openDocument(java.lang.String name)
                                 throws java.lang.Exception
Specified by:
openDocument in interface DocsiteSource
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007 null. All Rights Reserved.