Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Method: getInputStream() belong to which class or interface?

 
Alibabra Sanjie
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the notes,

Use the following methods to get the streams for the Connection.
oConnection.getInputStream()
oConnection.getOutputStream()
oConnection.getDataInputStream()
oConnection.getDataOutputStream()


I couldn't find any information about the above methods. Connection and its sub-interface don't have those methods. Anyone can tell me
[ August 20, 2004: Message edited by: Alibabra Sanjie ]
 
Sathya Srinivasan
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess those methods have been mistyped. The correct ones would be

Connector.openInputStream(String name)
Connector.openOutputStream(String name)
Connector.openDataInputStream(String name)
Connector.openDataOutputStream(String name)
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not just the notes, the specifications even got some typos and technical errors... The reader has to know them by themselves using common sense...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic