com.armatiek.infofuze.source.filesystem
Class FileSystemSource

java.lang.Object
  extended by javax.xml.transform.stream.StreamSource
      extended by com.armatiek.infofuze.source.AbstractStreamSource
          extended by com.armatiek.infofuze.source.filesystem.FileSystemSource
All Implemented Interfaces:
DataSourceIf, javax.xml.transform.Source
Direct Known Subclasses:
CIFSSource, HTTPBasedSource, LocalFileSystemSource

public abstract class FileSystemSource
extends AbstractStreamSource

A JAXP bases abstract base class for all filesystem based Source classes. Filesystem bases source classes share the concept of a hierarchy of directories and files which can have parseable metadata and contents.

Author:
Maarten Kroon

Field Summary
 
Fields inherited from class javax.xml.transform.stream.StreamSource
FEATURE
 
Constructor Summary
FileSystemSource(org.w3c.dom.Element configElem)
           
 
Method Summary
 FileIf[] getBaseFiles()
          Returns the base files (seeds) that are configured for this source.
abstract  FileIf getFile(java.lang.String location)
          Returns the file on a specific location.
 
Methods inherited from class com.armatiek.infofuze.source.AbstractStreamSource
afterStreamClosed, close, destroy, getName, getReader, getTransformId, getTransformMode, isAutoReturning, isOpen, open, reset, setAutoReturning, setParameters, setTransformId, setTransformMode
 
Methods inherited from class javax.xml.transform.stream.StreamSource
getInputStream, getPublicId, getSystemId, setInputStream, setPublicId, setReader, setSystemId, setSystemId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemSource

public FileSystemSource(org.w3c.dom.Element configElem)
Method Detail

getFile

public abstract FileIf getFile(java.lang.String location)
Returns the file on a specific location. The location string is filesystem specific.

Parameters:
location - The location of the file

getBaseFiles

public FileIf[] getBaseFiles()
Returns the base files (seeds) that are configured for this source.