Class SfcTypeAdapter
- java.lang.Object
-
- com.inductiveautomation.ignition.common.project.resource.adapter.DefaultResourceTypeAdapter
-
- com.inductiveautomation.ignition.common.project.resource.adapter.SfcTypeAdapter
-
- All Implemented Interfaces:
ResourceTypeAdapter
public class SfcTypeAdapter extends DefaultResourceTypeAdapter
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.common.project.resource.adapter.ResourceTypeAdapter
LEGACY_SINGLETON_ERRORED_NAME_PATTERN
-
-
Constructor Summary
Constructors Constructor Description SfcTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
adaptData(byte[] data)
Adapt the data from the original project resource, if necessary.java.lang.String
getResourceFileName()
Get the name of the file that the adapted resource type should use to store its data on disk.-
Methods inherited from class com.inductiveautomation.ignition.common.project.resource.adapter.DefaultResourceTypeAdapter
getNewResourceType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.common.project.resource.adapter.ResourceTypeAdapter
getResourceDir, getResourcePath
-
-
-
-
Method Detail
-
getResourceFileName
public java.lang.String getResourceFileName()
Description copied from interface:ResourceTypeAdapter
Get the name of the file that the adapted resource type should use to store its data on disk.Defaults to
ProjectResource.DEFAULT_DATA_KEY
.- Returns:
- the name of the file that the adapted resource type should use to store its data on disk.
-
adaptData
public byte[] adaptData(byte[] data)
Description copied from interface:ResourceTypeAdapter
Adapt the data from the original project resource, if necessary.- Returns:
- the adapted data, if necessary.
-
-