Package | Description |
---|---|
org.openide.loaders |
Datasystems
are the logical layer between a filesystem and higher-level file-oriented operations.
|
Modifier and Type | Class and Description |
---|---|
class |
MultiFileLoader
Loader for any kind of
MultiDataObject . |
class |
UniFileLoader
Support class for loader handling one file at a time.
|
Modifier and Type | Method and Description |
---|---|
static <T extends DataLoader> |
DataLoader.getLoader(Class<T> loaderClass)
Get a registered loader from the pool.
|
Modifier and Type | Method and Description |
---|---|
DataLoader |
DataLoaderPool.firstProducerOf(Class<? extends DataObject> clazz)
Finds the first producer of a representation class.
|
DataLoader |
DataObject.getLoader()
Get the loader that created this data object.
|
static DataLoader |
DataLoaderPool.getPreferredLoader(FileObject fo)
Get the preferred loader for a file.
|
DataLoader[] |
DataLoaderPool.toArray()
Get an array of loaders that are currently registered.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<DataLoader> |
DataLoaderPool.allLoaders()
Get an enumeration of all loaders, including the preferred and system loaders.
|
protected abstract Enumeration<? extends DataLoader> |
DataLoaderPool.loaders()
Get an enumeration of data loaders.
|
Enumeration<DataLoader> |
DataLoaderPool.producersOf(Class<? extends DataObject> clazz)
Get an enumeration of all producers of a representation class.
|
Modifier and Type | Method and Description |
---|---|
static void |
DataLoaderPool.setPreferredLoader(FileObject fo,
DataLoader loader)
Utility method to mark a file as belonging to a loader.
|
Constructor and Description |
---|
DataFolder(FileObject fo,
DataLoader loader)
Deprecated.
Since 1.13 do not use this constructor, it is for backward compatibility only.
|
DataLoaderPool(DataLoader loader)
Create new loader pool and set preferred loader.
|
DataObject(FileObject pf,
DataLoader loader)
Create a new data object.
|
DataShadow(FileObject fo,
DataObject original,
DataLoader loader)
Deprecated.
Since 1.13 do not use this constructor, it is for backward compatibility only
|