DataLoader
, MultiFileLoader
, UniFileLoader
public static interface DataObject.Factory
Modifier and Type | Method | Description |
---|---|---|
DataObject |
findDataObject(org.openide.filesystems.FileObject fo,
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, Set<? super org.openide.filesystems.FileObject> recognized) throws 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 existsIOException
- if the object is recognized but cannot be createdInvalidClassException
- if the class is not instance of
#getRepresentationClass
DataLoader
Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.