public class DefaultCustomObjectProvider extends AbstractPlugin implements CustomObjectProvider
PROPERTY_MINIMUM_WORLDPAINTER_VERSION, PROPERTY_NAME, PROPERTY_UUIDS, PROPERTY_VERSION| Constructor and Description |
|---|
DefaultCustomObjectProvider() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getKeys()
Get the keys supported by this provider.
|
java.util.List<java.lang.String> |
getSupportedExtensions()
Get the list of filename extensions of the custom object formats
supported by this plugin.
|
WPObject |
loadObject(java.io.File file)
Load a custom object from a specific file.
|
getName, getProperties, getUUIDs, getVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMinimumWorldPainterVersion, getName, getProperties, getUUIDs, getVersion, initpublic java.util.List<java.lang.String> getKeys()
Providerpublic java.util.List<java.lang.String> getSupportedExtensions()
CustomObjectProvidergetSupportedExtensions in interface CustomObjectProviderpublic WPObject loadObject(java.io.File file) throws java.io.IOException
CustomObjectProviderloadObject in interface CustomObjectProviderfile - The file from which to load the custom object.java.io.IOException - If an I/O error occurs while reading the file.