Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1f3e0b8f9162dcefc621b65e5bb5ef1f8e49ce3d (plain) (blame)
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
30
31
32
33
/*******************************************************************************
 * Copyright (c) 2010, 2011 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/
package org.eclipse.equinox.bidi.internal.tests;

import org.eclipse.equinox.bidi.STextEnvironment;
import org.eclipse.equinox.bidi.custom.STextFeatures;
import org.eclipse.equinox.bidi.custom.ISTextProcessor;

public class STextTest implements ISTextProcessor {

	static final STextFeatures FEATURES = new STextFeatures("-=.:", 0, -1, -1, false, false);

	public STextFeatures getFeatures(STextEnvironment env) {
		return FEATURES;
	}

	public int indexOfSpecial(STextFeatures features, String text, byte[] dirProps, int[] offsets, int caseNumber, int fromIndex) {
		throw new IllegalStateException();
	}

	public int processSpecial(STextFeatures features, String text, byte[] dirProps, int[] offsets, int[] state, int caseNumber, int separLocation) {
		throw new IllegalStateException();
	}

}

Back to the top