blob: aba541fbd772224627c7bbbf549f7c7918262511 [file] [log] [blame]
Stuart McCulloch669423b2012-06-26 16:34:24 +00001package aQute.lib.properties;
2
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}