public class SmartStringWriter extends Writer
| Modifier and Type | Field and Description |
|---|---|
protected RecyclableStringBuffer |
m_buf |
protected boolean |
m_closed |
protected String |
m_poolName |
| Constructor and Description |
|---|
SmartStringWriter() |
SmartStringWriter(int initialSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
void |
flush() |
SharedString |
getSharedString() |
protected StringBufferPool |
getStringBufferPool()
This method can be overridden by subclasses to use a specific pool of StringBuffers.
|
protected void |
initBuffer(int initialSize)
This method can be overridden by subclasses
|
void |
realloc(int size) |
String |
toString() |
void |
write(char[] parm1) |
void |
write(char[] cbuf,
int off,
int len) |
void |
write(int c)
Write a single character.
|
void |
write(String str) |
void |
write(String str,
int off,
int len) |
protected RecyclableStringBuffer m_buf
protected boolean m_closed
protected String m_poolName
public SmartStringWriter()
public SmartStringWriter(int initialSize)
initialSize - protected void initBuffer(int initialSize)
protected StringBufferPool getStringBufferPool()
public void write(int c)
throws IOException
write in class Writerc - IOExceptionpublic void write(char[] cbuf,
int off,
int len)
throws IOException
write in class Writercbuf - off - len - IOExceptionpublic void write(char[] parm1)
throws IOException
write in class Writerparm1 - IOExceptionpublic void write(String str, int off, int len) throws IOException
write in class Writerstr - off - len - IOExceptionpublic void write(String str) throws IOException
write in class Writerstr - IOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class WriterIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionpublic SharedString getSharedString()
protected void finalize()
throws Throwable
public void realloc(int size)
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice