public abstract class AbstractPreferencesPersistor extends Object implements PreferencesPersistor
Modifier and Type | Field and Description |
---|---|
protected GriffonApplication |
application |
static String |
DEFAULT_EXTENSION |
static String |
KEY_PREFERENCES_PERSISTOR_LOCATION |
protected Metadata |
metadata |
Constructor and Description |
---|
AbstractPreferencesPersistor(GriffonApplication application,
Metadata metadata) |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
inputStream() |
protected OutputStream |
outputStream() |
protected String |
resolveExtension() |
protected File |
resolveFile(String fileName) |
protected String |
resolvePreferencesFileName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
read, write
public static final String KEY_PREFERENCES_PERSISTOR_LOCATION
public static final String DEFAULT_EXTENSION
protected final GriffonApplication application
protected final Metadata metadata
@Inject public AbstractPreferencesPersistor(@Nonnull GriffonApplication application, @Nonnull Metadata metadata)
@Nonnull protected InputStream inputStream() throws IOException
IOException
@Nonnull protected OutputStream outputStream() throws IOException
IOException