Package aQute.bnd.properties
Interface IDocument
-
- All Known Implementing Classes:
Document
public interface IDocument
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringget()java.lang.Stringget(int offset, int length)chargetChar(int offset)intgetLength()java.lang.StringgetLineDelimiter(int line)IRegiongetLineInformation(int lineNum)intgetNumberOfLines()voidreplace(int offset, int length, java.lang.String data)
-
-
-
Method Detail
-
getNumberOfLines
int getNumberOfLines()
-
getLineInformation
IRegion getLineInformation(int lineNum) throws BadLocationException
- Throws:
BadLocationException
-
get
java.lang.String get()
-
get
java.lang.String get(int offset, int length) throws BadLocationException- Throws:
BadLocationException
-
getLineDelimiter
java.lang.String getLineDelimiter(int line) throws BadLocationException- Throws:
BadLocationException
-
getLength
int getLength()
-
replace
void replace(int offset, int length, java.lang.String data) throws BadLocationException- Throws:
BadLocationException
-
getChar
char getChar(int offset) throws BadLocationException- Throws:
BadLocationException
-
-