public class CustomObjectManager extends AbstractProviderManager<java.lang.String,CustomObjectProvider>
Modifier and Type | Class and Description |
---|---|
class |
CustomObjectManager.UniversalFileFilter |
Constructor and Description |
---|
CustomObjectManager() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getAllSupportedExtensions() |
CustomObjectManager.UniversalFileFilter |
getFileFilter()
Get a universal file filter (implementing
FileFilter ,
FileFilter and FilenameFilter ) which will select
all supported custom object extensions. |
static CustomObjectManager |
getInstance() |
WPObject |
loadObject(java.io.File file) |
getImplementation, getImplementations, getKeys
public java.util.List<java.lang.String> getAllSupportedExtensions()
public WPObject loadObject(java.io.File file) throws java.io.IOException
java.io.IOException
public CustomObjectManager.UniversalFileFilter getFileFilter()
FileFilter
,
FileFilter
and FilenameFilter
) which will select
all supported custom object extensions.public static CustomObjectManager getInstance()