Package | Description |
---|---|
oracle.ide.util |
Contains utility classes.
|
Modifier and Type | Method and Description |
---|---|
FastStringBuffer |
FastStringBuffer.append(char c) |
FastStringBuffer |
FastStringBuffer.append(char[] str) |
FastStringBuffer |
FastStringBuffer.append(char[] str,
int offset,
int len) |
FastStringBuffer |
FastStringBuffer.append(char c,
int appendCount) |
FastStringBuffer |
FastStringBuffer.append(FastStringBuffer fsb) |
FastStringBuffer |
FastStringBuffer.append(java.lang.Object obj) |
FastStringBuffer |
FastStringBuffer.append(java.lang.String str) |
static FastStringBuffer |
FastStringBuffer.expandDelimiters(java.lang.String sourceString,
java.lang.String delimiters)
Creates a copy of the given FastStringBuffer, but will translate any
characters in the specified delimiter set into unicode "escape"
sequences (e.g.
|
FastStringBuffer |
FastStringWriter.getBuffer()
Return the string buffer itself.
|
FastStringBuffer |
FastStringBuffer.insert(int offset,
boolean b) |
FastStringBuffer |
FastStringBuffer.insert(int offset,
char c) |
FastStringBuffer |
FastStringBuffer.insert(int offset,
char[] str) |
FastStringBuffer |
FastStringBuffer.insert(int offset,
java.lang.Object obj) |
FastStringBuffer |
FastStringBuffer.insert(int offset,
java.lang.String str) |
FastStringBuffer |
FastStringBuffer.normalizeDelimiters(java.lang.String delimiters)
The opposite of expandDelimiters, this method will turn any unicode escape sequences that
would result in one of the given delimiters characters into the displayable form of that
delimiters.
|
FastStringBuffer |
FastStringBuffer.parseLiteral()
Given a string which needs to be parsed as a literal string (including
backslash characters), and assuming value[offset] is currently pointing
at the starting delimiter of this string, this routine will buffer
everything up to (but not including) another delimiter like the first.
|
FastStringBuffer |
FastStringBuffer.parseLiteral(char delimiter,
boolean allowDouble)
Given a string which needs to be parsed as a literal string (including
backslash characters), and assuming value[offset] is currently pointing
at the starting delimiter of this string, this routine will buffer
everything up to (but not including) another delimiter like the first.
|
static FastStringBuffer |
FastStringBuffer.sourceToText(java.lang.String source)
Translates a String which is compatible with source code (including
leading and trailing quote, expands backslash charaters, etc.) into
its actual String representation (e.g.
|
FastStringBuffer |
FastStringBuffer.substring(int startPos,
int endPos)
Just like String.substring() but uses FastStringBuffer
|
static FastStringBuffer |
FastStringBuffer.textToSource(java.lang.String text,
boolean hasEscapes)
Converts a String into a form that will compile (translating
special characters into backslash-something and adding
leading and trailing quotes.
|
static FastStringBuffer |
FastStringBuffer.textToSource(java.lang.String text,
boolean hasEscapes,
java.lang.String indentString) |
Modifier and Type | Method and Description |
---|---|
FastStringBuffer |
FastStringBuffer.append(FastStringBuffer fsb) |
int |
FastStringBuffer.indexOf(FastStringBuffer subStr,
int fromIndex)
Just like String.indexOf but uses FastStringBuffer
|
int |
FastStringBuffer.indexOfSubstring(FastStringBuffer buffer,
int fromIndex) |
int |
FastStringBuffer.IndexOfSubString(FastStringBuffer subStr,
int fromIndex)
Deprecated.
since 11.1.1. Use
indexOfSubstring(FastStringBuffer,int) . |
int |
FastStringBuffer.lastIndexOf(FastStringBuffer subStr,
int fromIndex)
Just like String.lastIndexOf but uses FastStringBuffer
|