Subversion Repository Public Repository

litesoft

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
package org.litesoft.language.server;

import java.io.*;
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;
}

Commits for litesoft/trunk/DeviceDesktopTest/src/org/litesoft/language/server/SimplePropertyFileAccessor.java

Diff revisions: vs.
Revision Author Commited Message
937 markcmarkc Mon 02 Jun, 2014 00:08:18 +0000

Added property file loading for master unvalidated accessor