blob: 267003d2362c9ba9fba2a185d92d117c67532adb [file] [log] [blame]
Stuart McCulloch39cc9ac2012-07-16 13:43:38 +00001package aQute.bnd.properties;
Stuart McCullochd4826102012-06-26 16:34:24 +00002
3public interface IDocument {
4
5 int getNumberOfLines();
6
7 IRegion getLineInformation(int lineNum) throws BadLocationException;
8
9 String get();
10
11 String get(int offset, int length) throws BadLocationException;
12
13 String getLineDelimiter(int line) throws BadLocationException;
14
15 int getLength();
16
17 void replace(int offset, int length, String data) throws BadLocationException;
18
19 char getChar(int offset) throws BadLocationException;
20
21}