|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.buffer.Util
public final class Util
Buffer related utilities.
Method Summary | |
---|---|
static LineMap |
lineMap(ReadTextBuffer textBuffer) Creates a line map for the specified text buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LineMap lineMap(ReadTextBuffer textBuffer)
This method can be used to obtain a LineMap
for any ReadTextBuffer
, in contrast to AbstractTextBuffer.getLineMap()
, which is not available on ReadTextBuffer
.
For compatibility reasons, the ReadTextBuffer
interface cannot be modified to add a getLineMap() method.
Note that this method does not guarantee any caching behavior.
textBuffer
- a text buffer.java.lang.NullPointerException
- if textBuffer is null.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |