public abstract class PlatformInstall extends GeneralPlatformInstall
PlatformInstall.accept(org.openide.filesystems.FileObject)
method,
and for instantiation itself, through the provided wizard iterator.
Consult the GeneralPlatformInstall
javadoc about the PlatformInstall
registration.Constructor and Description |
---|
PlatformInstall() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
accept(FileObject baseFolder)
Checks whether a given folder contains a platform of the supported type.
|
abstract WizardDescriptor.InstantiatingIterator<WizardDescriptor> |
createIterator(FileObject baseFolder)
Creates a
WizardDescriptor.InstantiatingIterator for an accepted
folder. |
getDisplayName
public abstract WizardDescriptor.InstantiatingIterator<WizardDescriptor> createIterator(FileObject baseFolder)
WizardDescriptor.InstantiatingIterator
for an accepted
folder. The platform definition file returned by the instantiate method
should be created in the Services/Platforms/org-netbeans-api-java-Platform
folder on the system filesystem.public abstract boolean accept(FileObject baseFolder)
baseFolder
- folder which may be an installation root of a platform