public final class NvlistProjectConnection
extends java.lang.Object
implements java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getBuildProperty(java.lang.String key,
java.lang.String defaultValue)
Returns a property from the build-properties file.
|
ProjectFolderConfig |
getFolderConfig() |
<T> T |
getPref(nl.weeaboo.prefsstore.Preference<T> preferenceDefinition)
Returns a configurable preference value from the project.
|
nl.weeaboo.filesystem.IFileSystem |
getResFileSystem()
A virtual file system providing read-only access to the project's resources.
|
static NvlistProjectConnection |
openProject(ProjectFolderConfig folderConfig)
Opens a connection to the project stored in the specified folder.
|
public static NvlistProjectConnection openProject(ProjectFolderConfig folderConfig)
public void close()
close in interface java.lang.AutoCloseablepublic ProjectFolderConfig getFolderConfig()
public <T> T getPref(nl.weeaboo.prefsstore.Preference<T> preferenceDefinition)
NovelPrefspublic java.lang.String getBuildProperty(java.lang.String key,
java.lang.String defaultValue)
public nl.weeaboo.filesystem.IFileSystem getResFileSystem()