com.hardcode.gdbms.engine.data.file
Class FileDataSourceSupport

java.lang.Object
  extended by com.hardcode.gdbms.engine.data.file.FileDataSourceSupport

public class FileDataSourceSupport
extends java.lang.Object


Constructor Summary
FileDataSourceSupport(DataSource ds, java.io.File file, FileDriver driver)
           
 
Method Summary
 java.lang.String check(Field field, Value value)
           
 FileDriver getDriver()
           
 DriverMetadata getDriverMetadata()
           
 java.io.File getFile()
           
 Metadata getOriginalMetadata()
           
 void saveData(DataSource ds)
           
 boolean start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDataSourceSupport

public FileDataSourceSupport(DataSource ds,
                             java.io.File file,
                             FileDriver driver)
Method Detail

getDriver

public FileDriver getDriver()

getFile

public java.io.File getFile()

start

public boolean start()
              throws DriverException
Throws:
DriverException

stop

public void stop()
          throws DriverException,
                 AlreadyClosedException
Throws:
DriverException
AlreadyClosedException

saveData

public void saveData(DataSource ds)
              throws DriverException
Throws:
DriverException

getDriverMetadata

public DriverMetadata getDriverMetadata()
                                 throws DriverException
Throws:
DriverException

check

public java.lang.String check(Field field,
                              Value value)
                       throws DriverException
Throws:
DriverException

getOriginalMetadata

public Metadata getOriginalMetadata()
                             throws DriverException
Throws:
DriverException


Copyright © 2005-2006 . All Rights Reserved.