aQute.bnd.properties
Class Document
java.lang.Object
aQute.bnd.properties.Document
- All Implemented Interfaces:
- IDocument
public class Document
- extends Object
- implements IDocument
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIMITERS
public static final String[] DELIMITERS
Document
public Document(String text)
getNumberOfLines
public int getNumberOfLines()
- Specified by:
getNumberOfLines in interface IDocument
getLineInformation
public IRegion getLineInformation(int line)
throws BadLocationException
- Specified by:
getLineInformation in interface IDocument
- Throws:
BadLocationException
get
public String get(int offset,
int length)
throws BadLocationException
- Specified by:
get in interface IDocument
- Throws:
BadLocationException
getLineDelimiter
public String getLineDelimiter(int line)
throws BadLocationException
- Specified by:
getLineDelimiter in interface IDocument
- Throws:
BadLocationException
getLength
public int getLength()
- Specified by:
getLength in interface IDocument
replace
public void replace(int offset,
int length,
String text)
throws BadLocationException
- Specified by:
replace in interface IDocument
- Throws:
BadLocationException
getChar
public char getChar(int pos)
- Specified by:
getChar in interface IDocument
setText
public void setText(String text)
get
public String get()
- Specified by:
get in interface IDocument
Copyright © 2014 aQute SARL. All rights reserved.