Uses of Interface
org.fastnate.data.files.DataFile
Packages that use DataFile
-
Uses of DataFile in org.fastnate.data.files
Classes in org.fastnate.data.files that implement DataFileModifier and TypeClassDescriptionclassRepresents a data file from the file system.classRepresents a data file from an URL.classRepresents a file from the class path.Methods in org.fastnate.data.files that return DataFileMethods in org.fastnate.data.files that return types with arguments of type DataFileMethods in org.fastnate.data.files with parameters of type DataFileModifier and TypeMethodDescriptionprotected org.fastnate.generator.context.EntityClass<?> GenericDataProvider.findEntityClass(DataFile importFile) Tries to guess the class of the imported entities from the file or directory name.protected abstract Collection<?> GenericDataProvider.importFile(DataFile importFile) Tries to import the given file.protected abstract booleanGenericDataProvider.isImportFile(DataFile file) Indicates that the given file is imported.private voidGenericDataProvider.readImportFile(DataFile file) Method parameters in org.fastnate.data.files with type arguments of type DataFileModifier and TypeMethodDescriptiondefault voidDataFolder.forAllFiles(BiConsumer<DataFolder, DataFile> consumer) Finds all files in this folder and in all sub folders and handles them with the given consumer.default voidDataFolder.forAllFiles(Consumer<DataFile> consumer) Finds all files in this folder and in all sub folders and handles them with the given consumer. -
Uses of DataFile in org.fastnate.data.xml
Methods in org.fastnate.data.xml with parameters of type DataFileModifier and TypeMethodDescriptionprotected Collection<?> GenericXmlDataProvider.importFile(DataFile importFile) JaxbImporter.importFile(DataFile file) Imports the entity from the given file.XmlDataImporter.importFile(DataFile file) Imports all entites found in the given XML file.protected booleanGenericXmlDataProvider.isImportFile(DataFile file) private static DataImportExceptionXmlDataImporter.wrapRuntimeException(RuntimeException e, DataFile file, XMLEvent nextEvent) private static DataImportExceptionXmlDataImporter.wrapStreamException(XMLStreamException e, DataFile file)