|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Writer
com.ptc.windchill.upgrade.directives.WriterDirectiveServicesAdapter
Serves as a writer that can be written to by Java Migrators that will write its messages to the directive services.
Field Summary | |
private StringBuffer |
buffer_
|
private DirectiveServices |
directiveServices_
|
Fields inherited from class java.io.Writer |
lock |
Constructor Summary | |
WriterDirectiveServicesAdapter(DirectiveServices directive_services)
Create an instance that will log contents to the specified directive services. |
Method Summary | |
private StringBuffer |
buffer()
|
void |
close()
The concept of closing is undefined; this method does nothing. |
private DirectiveServices |
directiveServices()
|
void |
flush()
Logs the accumulated buffer on the directive services object. |
private void |
resetBuffer()
|
void |
write(char[] chars)
Adds the character array to the buffer. |
void |
write(char[] chars,
int position,
int length)
Adds the subsequence of character array from position to position+length to the buffer. |
void |
write(int c)
Adds the character represented by the specifed integer value to the buffer. |
void |
write(String string)
Adds the string to the buffer. |
void |
write(String string,
int position,
int length)
Adds the substring from position to position+length to the buffer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private DirectiveServices directiveServices_
private StringBuffer buffer_
Constructor Detail |
public WriterDirectiveServicesAdapter(DirectiveServices directive_services)
Method Detail |
public void close()
public void flush()
public void write(char[] chars)
public void write(char[] chars, int position, int length)
public void write(int c)
public void write(String string)
public void write(String string, int position, int length)
position
to position+length
to the buffer.
private StringBuffer buffer()
private void resetBuffer()
private DirectiveServices directiveServices()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |