Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Use of java.io.FilterWriter  RSS feed

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Within a method,
public void f(Writer sink, ...){
...
sink.write( .. );
...
}
there are multiple calls out to sink.write(). In
one of these sink.writes, I want to do some transformation
on the pending string before the writing happens.
Will a FilterWriter fit my need ?
Thanks
Pho
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!