public class InspectionProfileImporter extends java.lang.Object implements SchemeImporter<NewInspectionProfile>
Constructor and Description |
---|
InspectionProfileImporter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String [] |
getSourceExtensions() |
NewInspectionProfile |
importScheme(Project project,
VirtualFile selectedFile,
NewInspectionProfile currentScheme,
SchemeFactory<NewInspectionProfile> schemeFactory)
Import a scheme from the given virtual file
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAdditionalImportInfo, getImportFile
public java.lang.String [] getSourceExtensions()
getSourceExtensions
in interface SchemeImporter<NewInspectionProfile>
public NewInspectionProfile importScheme(Project project, VirtualFile selectedFile, NewInspectionProfile currentScheme, SchemeFactory<NewInspectionProfile> schemeFactory) throws SchemeImportException
SchemeImporter
importScheme
in interface SchemeImporter<NewInspectionProfile>
project
- projectselectedFile
- The input file to import from.currentScheme
- source scheme to be updated or to base import onschemeFactory
- The factory to create a scheme with a given name. Importer implementation should use this method
to create a scheme to which it will save imported values.SchemeImportException
SchemeFactory