public abstract class ProjectIO extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_ARCHIVE_CONTENT_TYPE_ID
Identifier of the HALE project archive content type
|
static String |
PROJECT_FILE
Name of the internal project file
|
static String |
PROJECT_TYPE_NAME
Project file default type name
|
Constructor and Description |
---|
ProjectIO() |
Modifier and Type | Method and Description |
---|---|
static Map<String,ProjectFile> |
createDefaultProjectFiles(ServiceProvider serviceProvider)
Create a set of default project files for use with
ProjectReader
and ProjectWriter |
static ComplexConfigurationService |
createProjectConfigService(Project project)
Create an
IConfigurationService from a given project. |
static String |
findProjectFile(File projectDir)
Find the HALE project file in a directory.
|
static String |
findProjectFile(File projectDir,
Set<String> supportedExtensions)
Find the HALE project file in a directory.
|
public static final String PROJECT_TYPE_NAME
public static final String PROJECT_FILE
public static final String PROJECT_ARCHIVE_CONTENT_TYPE_ID
public static Map<String,ProjectFile> createDefaultProjectFiles(ServiceProvider serviceProvider)
ProjectReader
and ProjectWriter
serviceProvider
- the service provider to use for eventual I/O
advisors createdpublic static ComplexConfigurationService createProjectConfigService(Project project)
IConfigurationService
from a given project.project
- the projectpublic static String findProjectFile(File projectDir)
projectDir
- the project directorynull
if none was foundpublic static String findProjectFile(File projectDir, Set<String> supportedExtensions)
projectDir
- the project directorysupportedExtensions
- the set of supported extensions, each with a
leading dot, or null
if the supported extensions
should be determined automaticallynull
if none was foundBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a