Package manifold.api.type
Class AbstractSingleFileModel
java.lang.Object
manifold.api.type.AbstractSingleFileModel
- All Implemented Interfaces:
IModel
For use with
ResourceFileTypeManifold. Models the common use-case where
a type is backed by a single resource file e.g.,
a CSV file.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAddfileto the set of files this model uses.getFile()getFiles()getFqn()getHost()voidremoveFile(IFile file) Removefilefrom the set of files this model usesvoidupdateFile(IFile file) Updatesfilein the set of files this model usesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface manifold.api.type.IModel
isProcessing
-
Constructor Details
-
AbstractSingleFileModel
-
-
Method Details
-
getHost
-
getFqn
-
getFiles
-
getFile
-
addFile
Description copied from interface:IModelAddfileto the set of files this model uses. The addition of a new flie -
removeFile
Description copied from interface:IModelRemovefilefrom the set of files this model uses- Specified by:
removeFilein interfaceIModel
-
updateFile
Description copied from interface:IModelUpdatesfilein the set of files this model uses- Specified by:
updateFilein interfaceIModel
-