litesoft
@ 939
litesoft / trunk / DeviceDesktopTest / src / org / litesoft / language / server / SimplePropertyFileAccessor.java
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
package org.litesoft.language.server; import java.io.*; import org.litesoft.core.typeutils.Objects; import java.util.*; import org.litesoft.core.annotations.*; import org.litesoft.language.model.*; /** * */ public interface SimplePropertyFileAccessor { /** * @return Keys in the order they were stored! */ @NotNull @Immutable List<String> getKeys(); @Nullable String getProperty( String pKey ); /** * Writes all the properties to a properties file retaining the order of the properties as they were read and retaining any comments as they were read as well. * * @throws IOException */ void save() throws IOException; } |