Search in sources :

Example 1 with SrtTextReader

use of uk.me.parabola.mkgmap.srt.SrtTextReader in project mkgmap by openstreetmap.

the class SortExpandTest method setUp.

@Before
public void setUp() throws Exception {
    Reader r = new StringReader("codepage 1252\n" + "code 01\n" + "code a, A; â, Â < b, B\n" + "code c < d < e <f < g < h < i < j < k < l < m < n < o\n" + "code p < q < r,R < s,S < t,T < u < v < w < x < y < z\n" + "expand ß to s s\n");
    SrtTextReader srr = new SrtTextReader(r);
    sort = srr.getSort();
    collator = sort.getCollator();
}
Also used : StringReader(java.io.StringReader) StringReader(java.io.StringReader) Reader(java.io.Reader) SrtTextReader(uk.me.parabola.mkgmap.srt.SrtTextReader) SrtTextReader(uk.me.parabola.mkgmap.srt.SrtTextReader) Before(org.junit.Before)

Aggregations

Reader (java.io.Reader)1 StringReader (java.io.StringReader)1 Before (org.junit.Before)1 SrtTextReader (uk.me.parabola.mkgmap.srt.SrtTextReader)1