com.hardcode.gdbms.engine.data.driver
Interface AlphanumericFileDriver
- All Superinterfaces:
- com.hardcode.driverManager.Driver, FileDriver, GDBMSDriver, ReadAccess, TypeConverter
- All Known Implementing Classes:
- CSVDriver, CSVStringDriver
public interface AlphanumericFileDriver
- extends FileDriver
Interface to the files.
Method Summary |
void |
createSource(java.lang.String path,
DriverMetadata dsm)
Creates a new file with the given field names and types |
void |
writeFile(java.io.File file,
DataSource dataSource)
Writes the content of the DataWare to the specified file. |
Methods inherited from interface com.hardcode.driverManager.Driver |
getName |
writeFile
void writeFile(java.io.File file,
DataSource dataSource)
throws DriverException
- Writes the content of the DataWare to the specified file.
- Parameters:
dataWare
- DataWare with the contents
- Throws:
DriverException
createSource
void createSource(java.lang.String path,
DriverMetadata dsm)
throws DriverException
- Creates a new file with the given field names and types
- Parameters:
path
- Path to the new filedsm
- Metadata of the source
- Throws:
DriverException
- If the creation fails
Copyright © 2005-2006 . All Rights Reserved.