public interface CustomObjectProvider extends Provider<java.lang.String>
Created by Pepijn on 9-3-2017.
PROPERTY_MINIMUM_WORLDPAINTER_VERSION, PROPERTY_NAME, PROPERTY_UUIDS, PROPERTY_VERSION
Modifier and Type | Method and Description |
---|---|
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.
|
getMinimumWorldPainterVersion, getName, getProperties, getUUIDs, getVersion, init
java.util.List<java.lang.String> getSupportedExtensions()
WPObject loadObject(java.io.File file) throws java.io.IOException
file
- The file from which to load the custom object.java.io.IOException
- If an I/O error occurs while reading the file.