• Post Reply Bookmark Topic Watch Topic
  • New Topic

Text.IO  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please in what package can Text.IO be found?
 
Author and ninkuma
Marshal
Posts: 66307
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps you could start by explaining what Text.IO is? It's not any standard part of Java.
 
ericmoore emezuru
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know its a subroutine in java used in place of system.in and system.out; with more features comparing with system.in and system.out. Please that's Just what I know about it--and am asking is it actually found in any java package or one will have access to it once the person has imported Scanner class found in java.util package
 
Sheriff
Posts: 22844
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It must be part of some Java package, but it isn't part of the standard Java environment. That means you have to get it from somewhere and put it in your classpath.

And no, importing java.util.Scanner won't automatically cause the compiler to recognize it either. You would have to import it explicitly if you wanted to use it.
 
ericmoore emezuru
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since it would be imported but not in util package, then I wouldn't mind being helped with a little demo
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you missed Paul's point - which was that we can't help you with it, since we don't know what it is. Searching for "text.io" (with and without "java") comes up blank, so it's not a widely used, or publicly used, routine.

How do you know what it is, and where did you hear about it? Maybe that would be a good place to start looking for more information.
 
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think the OP got came across the TextIO package here http://math.hws.edu/javanotes/c2/s4.html
but anyway its not a standard java package. That is used there just for the sake of some simple examples.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If that's the case then it's a good example for calling things by their proper name: searching for "textio" finds it immediately, "text.io" - not at all.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!