public class LocalArchivedTemplate extends ArchivedProjectTemplate
ArchivedProjectTemplate.StreamProcessor<T>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION_PATH |
static java.lang.String |
UNENCODED_ATTRIBUTE |
INPUT_DEFAULT, INPUT_FIELD, myDisplayName, TEMPLATE
EMPTY_ARRAY
Constructor and Description |
---|
LocalArchivedTemplate(java.net.URL archivePath,
java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
java.net.URL |
getArchivePath() |
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
protected ModuleType |
getModuleType() |
void |
handleUnzippedDirectories(java.io.File dir,
java.util.List<? super java.io.File> filesToRefresh) |
boolean |
isEscaped() |
<T> T |
processStream(ArchivedProjectTemplate.StreamProcessor<T> consumer) |
ValidationResult |
validate(java.lang.String baseDirPath) |
consumeZipStream, createModuleBuilder, getArtifacts, getCategory, getFrameworks, getInputFields, getName, populateFromElement, setArtifacts, setFrameworks, validateSettings
public static final java.lang.String DESCRIPTION_PATH
public static final java.lang.String UNENCODED_ATTRIBUTE
public LocalArchivedTemplate(java.net.URL archivePath, java.lang.ClassLoader classLoader)
public ValidationResult validate(java.lang.String baseDirPath)
public java.lang.String getDescription()
public javax.swing.Icon getIcon()
getIcon
in interface ProjectTemplate
getIcon
in class ArchivedProjectTemplate
public boolean isEscaped()
protected ModuleType getModuleType()
getModuleType
in class ArchivedProjectTemplate
public <T> T processStream(ArchivedProjectTemplate.StreamProcessor<T> consumer) throws java.io.IOException
processStream
in class ArchivedProjectTemplate
java.io.IOException
public java.net.URL getArchivePath()
public void handleUnzippedDirectories(java.io.File dir, java.util.List<? super java.io.File> filesToRefresh) throws java.io.IOException
handleUnzippedDirectories
in class ArchivedProjectTemplate
java.io.IOException