aspose file tools
The moose likes I/O and Streams and the fly likes FileReader? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "FileReader?" Watch "FileReader?" New topic
Author

FileReader?

Bill Ceglia
Ranch Hand

Joined: Dec 13, 2001
Posts: 30
I am using CodeWarrior and JDK1.2.2 to develop my MIDlet but when I try and access certain classes errors come back stating the class was not found?
Code example below:
import java.io.*;
import java.util.*;
FileReader fis = new FileReader(filename);
When I compile the program it says Class FileReader not found, do I have to specify a path other than the import or do I need to do something else???
Graeme Brown
Ranch Hand

Joined: Oct 13, 2000
Posts: 193
This would be better answered in the Java2 Micro Edition forum.
I don't know the specifics of CodeWarrior, but I do know that the JDKs for most of the J2ME development environment only provide a subset of the classes that are in J2SE.
 
 
subject: FileReader?
 
Threads others viewed
DataSource class not found
Searching Strings in a textfile
text file into an array
FileReader querry
constructors
developer file tools