|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.Writer | +--org.jSyncManager.API.Protocol.Util.DLPRecordWriter
A convenience class for writing a DLPRecord to an OutputStreamWriter stream or Writer stream.
DLPRecord
,
Writer
,
OutputStreamWriter
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
DLPRecordWriter()
Creates a new instance of DLPRecordWriter. |
|
DLPRecordWriter(DLPRecord dlprec,
java.io.OutputStreamWriter out)
Creates a new instance of DLPRecordWriter using the given DLPRecord and OutputStreamWriter instance. |
|
DLPRecordWriter(java.io.OutputStreamWriter out)
Creates a new instance of DLPRecordWriter from an OutputStreamWriter instance. |
Method Summary | |
---|---|
void |
close()
Close the Writer stream. |
void |
flush()
Flush the Writer stream. |
java.io.OutputStreamWriter |
getOs()
Getter for property OutputStreamWriter os. |
DLPRecord |
getRecord()
Getter for property dlprecord. |
void |
setOs(java.io.OutputStreamWriter os)
Setter for property OutputStreamWriter os. |
void |
setRecord(DLPRecord dlprecord)
Setter for property dlprecord. |
java.lang.String |
toString()
Create a String representation of the class |
void |
write(char[] values)
|
void |
write(char[] values,
int offset,
int length)
Write a portion of an array of characters. |
void |
write(int param)
|
void |
write(java.lang.String buff)
Write a String to the output stream. |
void |
write(java.lang.StringBuffer buff)
Write a StringBuffer to the output stream. |
Methods inherited from class java.io.Writer |
---|
write |
Methods inherited from class java.lang.Object |
---|
|
Constructor Detail |
public DLPRecordWriter()
public DLPRecordWriter(java.io.OutputStreamWriter out)
out
- OutputStreamWriter to be written to.public DLPRecordWriter(DLPRecord dlprec, java.io.OutputStreamWriter out)
dlprec
- DLPRecord to be written.out
- OutputStreamWriter to be written to.Method Detail |
public void close() throws java.io.IOException
close
in class java.io.Writer
java.io.IOException
- public void flush() throws java.io.IOException
flush
in class java.io.Writer
java.io.IOException
- public java.lang.String toString()
toString
in class java.lang.Object
public void write(char[] values) throws java.io.IOException
write
in class java.io.Writer
public void write(int param) throws java.io.IOException
write
in class java.io.Writer
public void write(char[] values, int offset, int length) throws java.io.IOException
write
in class java.io.Writer
cbuf
- Array of charactersoff
- Offset from which to start writing characterslen
- Number of characters to writejava.io.IOException
- If an I/O error occurspublic void write(java.lang.StringBuffer buff) throws java.io.IOException
buff
- StringBuffer to be written.java.io.IOException
- If an I/O error occurspublic void write(java.lang.String buff) throws java.io.IOException
write
in class java.io.Writer
buff
- String to be written.java.io.IOException
- If an I/O error occurspublic DLPRecord getRecord()
public void setRecord(DLPRecord dlprecord) throws java.io.IOException
dlprecord
- New value of property dlprecord.public java.io.OutputStreamWriter getOs()
public void setOs(java.io.OutputStreamWriter os)
os
- New OutputStreamWriter value of property os.
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |