DataLoader, MultiFileLoader, UniFileLoaderpublic static interface DataObject.Factory
| Modifier and Type | Method | Description |
|---|---|---|
DataObject |
findDataObject(org.openide.filesystems.FileObject fo,
java.util.Set<? super org.openide.filesystems.FileObject> recognized) |
Find a data object appropriate to the given file object--the meat of this class.
|
DataObject findDataObject(org.openide.filesystems.FileObject fo, java.util.Set<? super org.openide.filesystems.FileObject> recognized) throws java.io.IOException
recognized
buffer. Then all these files will be excluded from further processing.fo - file object to recognizerecognized - recognized file buffernull if the handler cannot
recognize this object (or its group)DataObjectExistsException - if the data object for the
primary file already existsjava.io.IOException - if the object is recognized but cannot be createdjava.io.InvalidClassException - if the class is not instance of
#getRepresentationClassDataLoaderBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.