Class ProjectFileUtil

java.lang.Object
java.nio.file.spi.FileTypeDetector
com.inductiveautomation.ignition.common.project.ProjectFileUtil

public class ProjectFileUtil extends FileTypeDetector
A utility class for inspecting, identifying and loading Projects from Files or streams.

Provides utilities for both legacy XML exported projects, as well as 8.0 disk-based project zip exports.

Also registers with the ServiceLoader to act as a FileTypeDetector. See the docs on probeContentType(java.nio.file.Path)